@@ 156-160 (lines=5) @@ | ||
153 | ||
154 | $this->_oRoutes = $oHost; |
|
155 | ||
156 | if (strstr($sHost, '/') |
|
157 | && strstr($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], $sHost)) { |
|
158 | ||
159 | $this->_sBaseUri = preg_replace('#^[^/]+#', '', $sHost); |
|
160 | } |
|
161 | ||
162 | if (isset($oHost->location)) { |
|
163 | ||
@@ 312-315 (lines=4) @@ | ||
309 | ||
310 | $this->_oRoutes = $oHost; |
|
311 | ||
312 | if (strstr($sHost, '/') && strstr($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], $sHost)) { |
|
313 | ||
314 | $this->_sBaseUri = preg_replace('#^[^/]+#', '', $sHost); |
|
315 | } |
|
316 | ||
317 | foreach ($oHost->routes as $sKey => $oRoute) { |
|
318 | ||
@@ 351-354 (lines=4) @@ | ||
348 | ||
349 | $this->_oRoutes = $oHost->routes; |
|
350 | ||
351 | if (strstr($sHost, '/') && strstr($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], $sHost)) { |
|
352 | ||
353 | $this->_sBaseUri = preg_replace('#^[^/]+#', '', $sHost); |
|
354 | } |
|
355 | ||
356 | $sHttpErrorPageName = '_getPage'.iError; |
|
357 | $this->$sHttpErrorPageName(); |
@@ 75-78 (lines=4) @@ | ||
72 | if ((!strstr($sHost, '/') && $sHost == $_SERVER['HTTP_HOST']) |
|
73 | || (strstr($sHost, '/') && strstr($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], $sHost))) { |
|
74 | ||
75 | if (strstr($sHost, '/') && strstr($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], $sHost)) { |
|
76 | ||
77 | $this->_sBaseUri = preg_replace('#^[^/]+#', '', $sHost); |
|
78 | } |
|
79 | ||
80 | if (isset($oSecurity->firewall)) { $oSecurity = $oHost->firewall; } |
|
81 | } |
@@ 75-79 (lines=5) @@ | ||
72 | || (strstr($sHost, '/') |
|
73 | && strstr($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], $sHost))) { |
|
74 | ||
75 | if (strstr($sHost, '/') |
|
76 | && strstr($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], $sHost)) { |
|
77 | ||
78 | $this->_sBaseUri = preg_replace('#^[^/]+#', '', $sHost); |
|
79 | } |
|
80 | ||
81 | if (isset($oHost->routes)) { |
|
82 |