SOURCES: phpSysInfo-PLD.patch - patch location of config.php
glen
glen at pld-linux.org
Wed Dec 28 09:33:25 CET 2005
Author: glen Date: Wed Dec 28 08:33:25 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patch location of config.php
---- Files affected:
SOURCES:
phpSysInfo-PLD.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/phpSysInfo-PLD.patch
diff -u SOURCES/phpSysInfo-PLD.patch:1.2 SOURCES/phpSysInfo-PLD.patch:1.3
--- SOURCES/phpSysInfo-PLD.patch:1.2 Fri Dec 9 15:56:52 2005
+++ SOURCES/phpSysInfo-PLD.patch Wed Dec 28 09:33:20 2005
@@ -8,3 +8,20 @@
+[PLD]
+Image = "PLD.gif"
+Files = "/etc/pld-release"
+--- index.php~ 2005-12-15 10:35:00.000000000 +0200
++++ index.php 2005-12-28 10:18:53.000000000 +0200
+@@ -22,12 +22,12 @@
+ ini_set('magic_quotes_runtime', 'off');
+ ini_set('register_globals', 'off');
+
+-if (!file_exists(APP_ROOT . '/config.php')) {
++if (!file_exists('/etc/webapps/phpsysinfo/config.php')) {
+ echo '<center><b>Error: config.php does not exist.</b></center>';
+ exit;
+ }
+
+-require_once(APP_ROOT . '/config.php'); // get the config file
++require_once('/etc/webapps/phpsysinfo/config.php'); // get the config file
+
+ if (!extension_loaded('xml')) {
+ echo '<center><b>Error: phpsysinfo requires xml module.</b></center>';
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/phpSysInfo-PLD.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list