SOURCES: cacti-plugin-lighttpd.patch (NEW) - hiding errors is pure evil - s...

glen glen at pld-linux.org
Sun Oct 5 17:07:56 CEST 2008


Author: glen                         Date: Sun Oct  5 15:07:56 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- hiding errors is pure evil
- shellbang

---- Files affected:
SOURCES:
   cacti-plugin-lighttpd.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/cacti-plugin-lighttpd.patch
diff -u /dev/null SOURCES/cacti-plugin-lighttpd.patch:1.1
--- /dev/null	Sun Oct  5 17:07:57 2008
+++ SOURCES/cacti-plugin-lighttpd.patch	Sun Oct  5 17:07:51 2008
@@ -0,0 +1,17 @@
+--- lighttpd_stats_1.0/ss_lighttpd_stats.php	2008-10-05 17:56:08.979584683 +0300
++++ lighttpd_stats_1.0/ss_lighttpd_stats.php	2008-10-05 17:59:04.134098093 +0300
+@@ -1,3 +1,4 @@
++#!/usr/bin/php
+ <?php
+ //
+ // +----------------------------------------------------------------------+
+@@ -21,9 +22,6 @@
+ //
+ //
+ 
+-/* display no errors */
+-error_reporting(0);
+-
+ if (!isset($called_by_script_server)) {
+         include_once(dirname(__FILE__) . "/../include/config.php");
+         array_shift($_SERVER["argv"]);
================================================================


More information about the pld-cvs-commit mailing list