]> git.pld-linux.org Git - packages/cacti.git/blob - cacti-webroot.patch
Up to 1.2.26
[packages/cacti.git] / cacti-webroot.patch
1 --- cacti-1.2.11/poller.php~    2020-05-01 01:21:10.000000000 +0200
2 +++ cacti-1.2.11/poller.php     2020-05-01 01:22:05.873227629 +0200
3 @@ -438,7 +438,7 @@ while ($poller_runs_completed < $poller_
4         $first_host        = 0;
5         $last_host         = 0;
6         $rrds_processed    = 0;
7 -       $webroot           = addslashes(($config['cacti_server_os'] == 'win32') ? strtr(strtolower(substr(dirname(__FILE__), 0, 1)) . substr(dirname(__FILE__), 1),"\\", '/') : dirname(__FILE__));
8 +       $webroot = $config['base_path'];
9  
10         // update web paths for the poller
11         set_config_option('path_webroot', $webroot);
This page took 0.044037 seconds and 3 git commands to generate.