packages: cacti/cacti-config.patch - use require instead of include to make...
glen
glen at pld-linux.org
Tue Apr 13 12:48:56 CEST 2010
Author: glen Date: Tue Apr 13 10:48:56 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- use require instead of include to make permission problems fatal
---- Files affected:
packages/cacti:
cacti-config.patch (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/cacti/cacti-config.patch
diff -u packages/cacti/cacti-config.patch:1.7 packages/cacti/cacti-config.patch:1.8
--- packages/cacti/cacti-config.patch:1.7 Sun Oct 5 05:28:32 2008
+++ packages/cacti/cacti-config.patch Tue Apr 13 12:48:51 2010
@@ -16,7 +16,7 @@
$database_password = "cactiuser";
$database_port = "3306";
-+include '/etc/webapps/cacti/config.php';
++require '/etc/webapps/cacti/config.php';
+
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti/cacti-config.patch?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list