|
@@ 662-664 (lines=3) @@
|
| 659 |
|
throw new \Exception("The requested uri($requestUri) cannot be processed by the script '$scriptName')"); |
| 660 |
|
} |
| 661 |
|
} |
| 662 |
|
if (\strpos($pathInfo, "/$name") === 0) { |
| 663 |
|
$pathInfo = \substr($pathInfo, \strlen($name) + 1); |
| 664 |
|
} |
| 665 |
|
if (\is_string($name) && \strpos($pathInfo, $name) === 0) { |
| 666 |
|
$pathInfo = \substr($pathInfo, \strlen($name)); |
| 667 |
|
} |
|
@@ 665-667 (lines=3) @@
|
| 662 |
|
if (\strpos($pathInfo, "/$name") === 0) { |
| 663 |
|
$pathInfo = \substr($pathInfo, \strlen($name) + 1); |
| 664 |
|
} |
| 665 |
|
if (\is_string($name) && \strpos($pathInfo, $name) === 0) { |
| 666 |
|
$pathInfo = \substr($pathInfo, \strlen($name)); |
| 667 |
|
} |
| 668 |
|
|
| 669 |
|
if ($pathInfo === false || $pathInfo === '/') { |
| 670 |
|
return ''; |