mirror of
https://github.com/dannyvankooten/AltoRouter.git
synced 2025-08-12 11:24:22 +02:00
Removal of strstr usage, for older PHP versions.
This commit is contained in:
@@ -101,7 +101,7 @@ class AltoRouter {
|
||||
|
||||
// Strip query string (?a=b) from Request Url
|
||||
if (($strpos = strpos($requestUrl, '?')) !== false) {
|
||||
$requestUrl = substr($requestUrl, $strpos +1);
|
||||
$requestUrl = substr($requestUrl, $strpos + 1);
|
||||
}
|
||||
|
||||
// set Request Method if it isn't passed as a parameter
|
||||
|
Reference in New Issue
Block a user