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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to