diff options
| -rw-r--r-- | templates/themes/rrdtool/cron.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/rrdtool/cron.php b/templates/themes/rrdtool/cron.php index 29afce54..c040c705 100644 --- a/templates/themes/rrdtool/cron.php +++ b/templates/themes/rrdtool/cron.php @@ -1,6 +1,6 @@ <?php
$_SERVER = Array('REQUEST_URI' => '', 'HTTP_HOST' => '', 'SCRIPT_FILENAME' => '');
- chdir('../../../');
+ chdir(str_replace('\\', '/', dirname(__FILE__)) . '/../../../');
require 'inc/functions.php';
require 'inc/display.php';
|
