]>
Commit | Line | Data |
---|---|---|
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); |