|
@@ -43,10 +43,7 @@ class Request {
|
|
|
throw new \Exception("Malformed request URI. Request terminated.");
|
|
|
}
|
|
|
|
|
|
- if (strpos($uri, '/index.php') === 0)
|
|
|
- {
|
|
|
- $uri = str_replace('/index.php', '', $uri);
|
|
|
- }
|
|
|
+ $uri = str_replace('/index.php', '', $uri);
|
|
|
}
|
|
|
// -------------------------------------------------------
|
|
|
// Neither PATH_INFO or REQUEST_URI are available.
|