projects
/
php-utility-classes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a386f5
)
comment out debug lines for production use again
author
robert
<robert>
Fri, 6 May 2005 13:02:48 +0000
(13:02 +0000)
committer
robert
<robert>
Fri, 6 May 2005 13:02:48 +0000
(13:02 +0000)
include/classes/rrdstat.php-class
patch
|
blob
|
blame
|
history
diff --git
a/include/classes/rrdstat.php-class
b/include/classes/rrdstat.php-class
index 0709315d178716bb789ec7a55fd33864fc7ca3aa..68887290c9fbfc3e5c29c174f81b4f6fb9d5cebf 100644
(file)
--- a/
include/classes/rrdstat.php-class
+++ b/
include/classes/rrdstat.php-class
@@
-359,7
+359,7
@@
class rrdstat {
if (strpos($return, 'ERROR') !== false) {
trigger_error('rrd graph error: '.$return, E_USER_WARNING);
if (strpos($return, 'ERROR') !== false) {
trigger_error('rrd graph error: '.$return, E_USER_WARNING);
- $return = $graph_cmd."\n\n".$return;
+
//
$return = $graph_cmd."\n\n".$return;
}
return $return;
}
}
return $return;
}
@@
-382,7
+382,7
@@
class rrdstat {
if (in_array($this->status, array('ok','readonly'))) {
foreach (array('day','week','month','year') as $tframe) {
$ret = $this->graph($tframe, null, $graph_extras);
if (in_array($this->status, array('ok','readonly'))) {
foreach (array('day','week','month','year') as $tframe) {
$ret = $this->graph($tframe, null, $graph_extras);
- $out .= '<p>'.nl2br($ret).'</p>';
+
//
$out .= '<p>'.nl2br($ret).'</p>';
$out .= '<p><img src="'.$basename.'-'.$tframe.'.png"></p>';
}
}
$out .= '<p><img src="'.$basename.'-'.$tframe.'.png"></p>';
}
}