summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 980dfba)
raw | patch | inline | side by side (parent: 980dfba)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Sep 2008 09:52:19 +0000 (09:52 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Sep 2008 09:52:19 +0000 (09:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12541 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_config.inc | patch | blob | history |
index fb0cacbcec3fd7f42ce5f115f9433eb1a9b53782..ddc26fcf35dd01229e1386554c784406d2402f1f 100644 (file)
/* 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 */
$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;
}