@@ 183-187 (lines=5) @@ | ||
180 | */ |
|
181 | private function checkabsolute() |
|
182 | { |
|
183 | if (isset($this->url['host']) && (strlen($this->url['host']) > 0)) { |
|
184 | $this->isAbsolute = true; |
|
185 | ||
186 | return true; |
|
187 | } |
|
188 | if (isset($this->url['path']) && (strpos($this->url['path'], "/") === 0)) { |
|
189 | $this->isAbsolute = true; |
|
190 | ||
@@ 188-192 (lines=5) @@ | ||
185 | ||
186 | return true; |
|
187 | } |
|
188 | if (isset($this->url['path']) && (strpos($this->url['path'], "/") === 0)) { |
|
189 | $this->isAbsolute = true; |
|
190 | ||
191 | return true; |
|
192 | } |
|
193 | $this->isAbsolute = false; |
|
194 | ||
195 | return false; |