]> git.pld-linux.org Git - packages/cacti.git/commitdiff
- poller in sbin, hashbang
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 5 Oct 2008 03:28:32 +0000 (03:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-config.patch -> 1.7

cacti-config.patch

index f6c09d7a05d2c0766e6b90e4951ee84bf51ef5c9..394362eb53d433f8897cd765e31ad773ce1661de 100644 (file)
        }
  
        html_start_box("<strong>Clear Cacti Log File</strong>", "100%", $colors["header"], "1", "center", "");
+--- cacti/poller.php~  2008-10-05 05:08:10.000000000 +0300
++++ cacti/poller.php   2008-10-05 05:11:11.327705168 +0300
+@@ -1,3 +1,4 @@
++#!/usr/bin/php
+ <?php
+ /*
+  +-------------------------------------------------------------------------+
+@@ -32,7 +32,7 @@
+ $no_http_headers = true;
+ /* start initialization section */
+-include(dirname(__FILE__) . "/include/global.php");
++require "/usr/share/cacti/include/global.php";
+ include_once($config["base_path"] . "/lib/poller.php");
+ include_once($config["base_path"] . "/lib/data_query.php");
+ include_once($config["base_path"] . "/lib/graph_export.php");
This page took 0.106508 seconds and 4 git commands to generate.