SOURCES: horde-webroot.patch (NEW) - We have registry.php and othe...

baggins baggins at pld-linux.org
Fri Sep 14 00:51:17 CEST 2007


Author: baggins                      Date: Thu Sep 13 22:51:17 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- We have registry.php and other config files in /etc/webapps/horde and because
  of this there is no /config dir in the path

---- Files affected:
SOURCES:
   horde-webroot.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/horde-webroot.patch
diff -u /dev/null SOURCES/horde-webroot.patch:1.1
--- /dev/null	Fri Sep 14 00:51:17 2007
+++ SOURCES/horde-webroot.patch	Fri Sep 14 00:51:12 2007
@@ -0,0 +1,11 @@
+--- horde-3.2-alpha/config/registry.php~	2007-09-14 00:45:09.302977889 +0200
++++ horde-3.2-alpha/config/registry.php	2007-09-14 00:48:17.163400003 +0200
+@@ -546,7 +546,7 @@
+             $_SERVER['SCRIPT_NAME'] :
+             $_SERVER['SCRIPT_URL'];
+         $hordedir = str_replace(DIRECTORY_SEPARATOR, '/', __FILE__);
+-        $hordedir = basename(preg_replace(';/config/registry.php$;', '', $hordedir));
++        $hordedir = basename(preg_replace(';/registry.php$;', '', $hordedir));
+         if (preg_match(';/' . $hordedir . ';', $path)) {
+             $webroot = preg_replace(';/' . $hordedir . '.*;', '/' . $hordedir, $path);
+         } else {
================================================================


More information about the pld-cvs-commit mailing list