|
@@ 253-255 (lines=3) @@
|
| 250 |
|
} |
| 251 |
|
|
| 252 |
|
// Remove possible GET parameters from resource path |
| 253 |
|
if (($getStart = strpos($url, '?')) !== false) { |
| 254 |
|
$url = substr($url, 0, $getStart); |
| 255 |
|
} |
| 256 |
|
|
| 257 |
|
// Remove possible HASH parameters from resource path |
| 258 |
|
if (($getStart = strpos($url, '#')) !== false) { |
|
@@ 258-260 (lines=3) @@
|
| 255 |
|
} |
| 256 |
|
|
| 257 |
|
// Remove possible HASH parameters from resource path |
| 258 |
|
if (($getStart = strpos($url, '#')) !== false) { |
| 259 |
|
$url = substr($url, 0, $getStart); |
| 260 |
|
} |
| 261 |
|
|
| 262 |
|
// Try to find resource and output full error |
| 263 |
|
try { |