Browse Source

fix working directory

pull/40/head
Savetheinternet 13 years ago
parent
commit
08fa8246bd
  1. 2
      templates/themes/rrdtool/cron.php

2
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';

Loading…
Cancel
Save