]> git.pld-linux.org Git - packages/cacti.git/blobdiff - cacti-webroot.patch
- up to 1.2.11
[packages/cacti.git] / cacti-webroot.patch
index 5936c1f011386be74324f924fcf48b4df8cc82e8..c87b7198949579e053b30777291ec5ba75d05cc7 100644 (file)
@@ -1,12 +1,11 @@
---- /poller.php~       2008-10-05 16:54:15.000000000 +0300
-+++ /poller.php        2008-10-05 16:57:05.946911539 +0300
-@@ -424,7 +424,7 @@ while ($poller_runs_completed < $poller_
-       $started_processes = 0;
+--- cacti-1.2.11/poller.php~   2020-05-01 01:21:10.000000000 +0200
++++ cacti-1.2.11/poller.php    2020-05-01 01:22:05.873227629 +0200
+@@ -438,7 +438,7 @@ while ($poller_runs_completed < $poller_
        $first_host        = 0;
        $last_host         = 0;
+       $rrds_processed    = 0;
 -      $webroot           = addslashes(($config['cacti_server_os'] == 'win32') ? strtr(strtolower(substr(dirname(__FILE__), 0, 1)) . substr(dirname(__FILE__), 1),"\\", '/') : dirname(__FILE__));
-+      $webroot = $config['base_path'];
++      $webroot = $config['base_path';
  
        // update web paths for the poller
        set_config_option('path_webroot', $webroot);
-
This page took 0.075651 seconds and 4 git commands to generate.