1 |
bytegw |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/00header mezzanine_patched_e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/00header |
2 |
|
|
--- e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/00header 2007-11-15 21:56:29.000000000 -0700 |
3 |
|
|
+++ mezzanine_patched_e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/00header 2007-11-15 21:30:13.000000000 -0700 |
4 |
|
|
@@ -2,7 +2,7 @@ |
5 |
|
|
/** |
6 |
|
|
* registry.php -- Horde application registry. |
7 |
|
|
* |
8 |
|
|
- * $Horde: horde/config/registry.php.dist,v 1.255.2.19 2006/11/24 10:48:30 jan Exp $ |
9 |
|
|
+ * $Horde: horde/config/registry.php.dist,v 1.255.2.20 2007/03/29 23:02:48 jan Exp $ |
10 |
|
|
* |
11 |
|
|
* This configuration file is used by Horde to determine which Horde |
12 |
|
|
* applications are installed and where, as well as how they interact. |
13 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/800WebRoot mezzanine_patched_e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/800WebRoot |
14 |
|
|
--- e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/800WebRoot 2007-11-15 21:56:29.000000000 -0700 |
15 |
|
|
+++ mezzanine_patched_e-smith-horde-1.13.0/root/etc/e-smith/templates/home/httpd/html/horde/config/registry.php/800WebRoot 2007-11-15 21:29:41.000000000 -0700 |
16 |
|
|
@@ -7,7 +7,8 @@ |
17 |
|
|
$path = empty($_SERVER['SCRIPT_URL']) ? |
18 |
|
|
$_SERVER['SCRIPT_NAME'] : |
19 |
|
|
$_SERVER['SCRIPT_URL']; |
20 |
|
|
- $hordedir = basename(preg_replace(';/config/registry.php$;', '', __FILE__)); |
21 |
|
|
+ $hordedir = str_replace(DIRECTORY_SEPARATOR, '/', __FILE__); |
22 |
|
|
+ $hordedir = basename(preg_replace(';/config/registry.php$;', '', $hordedir)); |
23 |
|
|
$webroot = preg_replace(';/' . $hordedir . '.*;', '/' . $hordedir, $path); |
24 |
|
|
\} elseif (isset($_SERVER['PHP_SELF'])) \{ |
25 |
|
|
$webroot = preg_split(';/;', $_SERVER['PHP_SELF'], 2, PREG_SPLIT_NO_EMPTY); |