SOURCES: horde-path.patch - updated for 3.1.3

paszczus paszczus at pld-linux.org
Sun Aug 20 11:13:31 CEST 2006


Author: paszczus                     Date: Sun Aug 20 09:13:31 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 3.1.3

---- Files affected:
SOURCES:
   horde-path.patch (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SOURCES/horde-path.patch
diff -u SOURCES/horde-path.patch:1.14 SOURCES/horde-path.patch:1.15
--- SOURCES/horde-path.patch:1.14	Fri Jan  6 16:58:56 2006
+++ SOURCES/horde-path.patch	Sun Aug 20 11:13:26 2006
@@ -5,8 +5,8 @@
  // this.
  if (isset($_SERVER['PHP_SELF'])) {
      $webroot = preg_split(';/;', $_SERVER['PHP_SELF'], 2, PREG_SPLIT_NO_EMPTY);
--    $webroot = strstr(dirname(__FILE__), '/' . array_shift($webroot));
-+    $webroot = strstr("/usr/share/horde", '/' . array_shift($webroot));
+-    $webroot = strstr(dirname(__FILE__), DIRECTORY_SEPARATOR . array_shift($webroot));
++    $webroot = strstr("/usr/share/horde", DIRECTORY_SEPARATOR . array_shift($webroot));
      if ($webroot !== false) {
          $webroot = preg_replace(';/config$;', '', $webroot);
      } elseif ($webroot === false) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/horde-path.patch?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list