From: janw Date: Tue, 23 Sep 2008 09:52:19 +0000 (+0000) Subject: Revert last change. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f97ca98e13b741c4f0b3fd311d47ae3b0443436b;p=gosa.git Revert last change. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12541 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index fb0cacbce..ddc26fcf3 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -188,7 +188,7 @@ class config { /* Handle referral tags */ case 'REFERRAL': if ($this->tags[$this->level-2] == 'LOCATION'){ - $url= $attrs['URI']; + $url= $attrs['URL']; $server= preg_replace('!^([^:]+://[^/]+)/.*$!', '\\1', $url); /* Add location elements */ @@ -335,8 +335,8 @@ class config { $bases= array(); $servers= array(); foreach ($this->current['REFERRAL'] as $ref){ - $server= preg_replace('%^(.*)/[^/]+$%', '\\1', $ref['URI']); - $base= preg_replace('%^.*/([^/]+)$%', '\\1', $ref['URI']); + $server= preg_replace('%^(.*)/[^/]+$%', '\\1', $ref['URL']); + $base= preg_replace('%^.*/([^/]+)$%', '\\1', $ref['URL']); $bases[$base]= strlen($base); $servers[$base]= $server; }