asDbg($opts);
- $ret = rrd_graph("/usr/share/amavis-stats/$img" , $opts, count($opts));
+ $ret = rrd_graph("$img" , $opts, count($opts));
if (!is_array($ret)) {
$err = rrd_error();
@@ -769,7 +769,7 @@
}
*/
$opts[] = "COMMENT:amavis-stats v$asVersion ";
- $opts[] = "COMMENT:$enddate" . str_replace(":", "\:", $enddate) . " \\r";
+ //$opts[] = "COMMENT:$enddate" . str_replace(":", "\:", $enddate) . " \\r";
/*
* debugging - graph definitions
@@ -777,7 +777,7 @@
asDbg($opts);
$start = microtime();
- $ret = rrd_graph("/usr/share/amavis-stats/$img" , $opts, count($opts));
+ $ret = rrd_graph("$img" , $opts, count($opts));
$t = elapsed($start);
if (!is_array($ret)) {
$err = rrd_error();