mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 16:12:14 +00:00
[TASK] Made RouterBase use singleton HttpRequest class.
This commit is contained in:
@@ -27,7 +27,7 @@ class RouterBase {
|
|||||||
$this->routes = array();
|
$this->routes = array();
|
||||||
$this->backstack = array();
|
$this->backstack = array();
|
||||||
$this->controllerUrlMap = array();
|
$this->controllerUrlMap = array();
|
||||||
$this->request = new Request();
|
$this->request = Request::getInstance();
|
||||||
$this->baseCsrfVerifier = new BaseCsrfVerifier();
|
$this->baseCsrfVerifier = new BaseCsrfVerifier();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user