]>
Commit | Line | Data |
---|---|---|
40e2932c AM |
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_ | |
e90920b5 | 4 | $first_host = 0; |
81fd7803 | 5 | $last_host = 0; |
40e2932c | 6 | $rrds_processed = 0; |
e90920b5 | 7 | - $webroot = addslashes(($config['cacti_server_os'] == 'win32') ? strtr(strtolower(substr(dirname(__FILE__), 0, 1)) . substr(dirname(__FILE__), 1),"\\", '/') : dirname(__FILE__)); |
f30e735c | 8 | + $webroot = $config['base_path']; |
30aaaddb | 9 | |
e90920b5 AM |
10 | // update web paths for the poller |
11 | set_config_option('path_webroot', $webroot); |