Fixes in paths
This commit is contained in:
parent
da0a8e03b2
commit
1096ecdf54
2 changed files with 5 additions and 3 deletions
|
|
@ -27,7 +27,9 @@ class Config {
|
|||
*/
|
||||
|
||||
function get_controller($controller, $args=[]) {
|
||||
|
||||
|
||||
$controller=__DIR__.'/../'.$controller;
|
||||
|
||||
if(is_file($controller)) {
|
||||
|
||||
include_once($controller);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue