]>
Commit | Line | Data |
---|---|---|
30aaaddb ER |
1 | --- /poller.php~ 2008-10-05 16:54:15.000000000 +0300 |
2 | +++ /poller.php 2008-10-05 16:57:05.946911539 +0300 | |
e90920b5 AM |
3 | @@ -424,7 +424,7 @@ while ($poller_runs_completed < $poller_ |
4 | $started_processes = 0; | |
5 | $first_host = 0; | |
81fd7803 | 6 | $last_host = 0; |
e90920b5 AM |
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']; | |
30aaaddb | 9 | |
e90920b5 AM |
10 | // update web paths for the poller |
11 | set_config_option('path_webroot', $webroot); | |
81fd7803 | 12 |