mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 02:12:13 +00:00
[OPTIMISATION] Optimisations + bugfixes.
- Fixed references to Pecee framework. - Fixed variables not being initialised before usage. - Cleaned up duplicate checks. - Other small optimisations and bugfixes.
This commit is contained in:
@@ -19,7 +19,7 @@ class SimpleRouter {
|
||||
* @throws RouterException
|
||||
*/
|
||||
public static function start($defaultNamespace = null) {
|
||||
$router = RouterBase::GetInstance();
|
||||
$router = RouterBase::getInstance();
|
||||
$router->setDefaultNamespace($defaultNamespace);
|
||||
$router->routeRequest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user