mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 08:47:52 +00:00
[TASK] Removed baseCfsrVerifier from constructor to make it completely
optional (to increase speed on project which doesn't need it).
This commit is contained in:
@@ -28,7 +28,6 @@ class RouterBase {
|
|||||||
$this->backstack = array();
|
$this->backstack = array();
|
||||||
$this->controllerUrlMap = array();
|
$this->controllerUrlMap = array();
|
||||||
$this->request = Request::getInstance();
|
$this->request = Request::getInstance();
|
||||||
$this->baseCsrfVerifier = new BaseCsrfVerifier();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addRoute(RouterEntry $route) {
|
public function addRoute(RouterEntry $route) {
|
||||||
|
|||||||
Reference in New Issue
Block a user