fix: remove print
This commit is contained in:
parent
68e0709c15
commit
784325f9c6
@ -21,7 +21,6 @@ class Router
|
|||||||
{
|
{
|
||||||
$this->uri = is_countable($_SERVER['REQUEST_URI']) && count($_SERVER['REQUEST_URI']) > 1 ? rtrim($_SERVER['REQUEST_URI'], "/") : $_SERVER['REQUEST_URI'];
|
$this->uri = is_countable($_SERVER['REQUEST_URI']) && count($_SERVER['REQUEST_URI']) > 1 ? rtrim($_SERVER['REQUEST_URI'], "/") : $_SERVER['REQUEST_URI'];
|
||||||
$this->uri = str_replace($pathname, "", $this->uri);
|
$this->uri = str_replace($pathname, "", $this->uri);
|
||||||
var_dump($this->uri);
|
|
||||||
$this->requestType = $_SERVER['REQUEST_METHOD'];
|
$this->requestType = $_SERVER['REQUEST_METHOD'];
|
||||||
$this->routes = [];
|
$this->routes = [];
|
||||||
$this->middleware = [];
|
$this->middleware = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user