1
0
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:
Danny van Kooten
2013-03-19 11:31:26 +07:00
parent be3d35f937
commit 533c426c6b
2 changed files with 2 additions and 4 deletions

View File

@@ -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