|
@@ 271-273 (lines=3) @@
|
| 268 |
|
} |
| 269 |
|
|
| 270 |
|
// Remove possible GET parameters from resource path |
| 271 |
|
if (($getStart = strpos($url, '?')) !== false) { |
| 272 |
|
$url = substr($url, 0, $getStart); |
| 273 |
|
} |
| 274 |
|
|
| 275 |
|
// Remove possible HASH parameters from resource path |
| 276 |
|
if (($getStart = strpos($url, '#')) !== false) { |
|
@@ 276-278 (lines=3) @@
|
| 273 |
|
} |
| 274 |
|
|
| 275 |
|
// Remove possible HASH parameters from resource path |
| 276 |
|
if (($getStart = strpos($url, '#')) !== false) { |
| 277 |
|
$url = substr($url, 0, $getStart); |
| 278 |
|
} |
| 279 |
|
|
| 280 |
|
// Try to find resource and output full error |
| 281 |
|
try { |