SOURCES: postnuke-config.patch - correct
glen
glen at pld-linux.org
Fri Mar 10 00:27:02 CET 2006
Author: glen Date: Thu Mar 9 23:27:02 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- correct
---- Files affected:
SOURCES:
postnuke-config.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/postnuke-config.patch
diff -u SOURCES/postnuke-config.patch:1.3 SOURCES/postnuke-config.patch:1.4
--- SOURCES/postnuke-config.patch:1.3 Fri Mar 10 00:23:25 2006
+++ SOURCES/postnuke-config.patch Fri Mar 10 00:26:57 2006
@@ -38,8 +38,8 @@
add_src_rep("adminmail", $email);
}
-- $ret = modify_file("/etc/webapps/postnuke/config.php", "config-old.php", $reg_src, $reg_rep);
-+ $ret = modify_file("config.php", "/etc/webapps/postnuke/config.php.bak", $reg_src, $reg_rep);
+- $ret = modify_file("config.php", "config-old.php", $reg_src, $reg_rep);
++ $ret = modify_file("/etc/webapps/postnuke/config.php", "/etc/webapps/postnuke/config.php.bak", $reg_src, $reg_rep);
if (preg_match("/Error/", $ret)) {
show_error_info();
@@ -91,8 +91,8 @@
$pnRender->assign('register_globals', $register_globals);
// check for config.php beeing writable
-- $config_php = (bool) is_writable('/etc/webapps/postnuke/config.php');
-+ $config_php = (bool) is_writable('config.php');
+- $config_php = (bool) is_writable('config.php');
++ $config_php = (bool) is_writable('/etc/webapps/postnuke/config.php');
$pnRender->assign('config_php', $config_php);
- // check for config-old.php beeing writable
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/postnuke-config.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list