mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
Development
- Fixed BootManager not loading. - Optimised for-loops.
This commit is contained in:
@@ -59,6 +59,7 @@ class RouteController extends LoadableRoute implements IControllerRoute
|
||||
|
||||
/* Remove requestType from method-name, if it exists */
|
||||
if ($method !== null) {
|
||||
|
||||
$max = count(static::$requestTypes);
|
||||
|
||||
for ($i = 0; $i < $max; $i++) {
|
||||
@@ -70,6 +71,7 @@ class RouteController extends LoadableRoute implements IControllerRoute
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$method .= '/';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user