router update

This commit is contained in:
xinatorus 2020-04-21 14:04:01 +02:00
parent 44c4a122f7
commit 79b79bdfa5

View File

@ -71,6 +71,8 @@ class Router{
}
}else if(class_exists($this->function)){
new $this->function(...$this->params);
}else if (is_callable($this->function)) {
call_user_func_array($this->function, $this->params);
}
}else if (is_callable($this->function)) {
call_user_func_array($this->function, $this->params);