SOURCES: cacti-config.patch - poller in sbin, hashbang

glen glen at pld-linux.org
Sun Oct 5 05:28:38 CEST 2008


Author: glen                         Date: Sun Oct  5 03:28:38 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- poller in sbin, hashbang

---- Files affected:
SOURCES:
   cacti-config.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/cacti-config.patch
diff -u SOURCES/cacti-config.patch:1.6 SOURCES/cacti-config.patch:1.7
--- SOURCES/cacti-config.patch:1.6	Sun Oct  5 03:56:32 2008
+++ SOURCES/cacti-config.patch	Sun Oct  5 05:28:32 2008
@@ -89,3 +89,19 @@
  	}
  
  	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");
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/cacti-config.patch?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list