$$router to $$core
This commit is contained in:
parent
24fcef43f7
commit
9b958b6a88
|
@ -38,7 +38,7 @@ require ROOT . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
|
|||
$$core = new core(namespace: __NAMESPACE__);
|
||||
|
||||
// Initializing routes
|
||||
$$router->router
|
||||
$$core->router
|
||||
->write('/', new route('index', 'index'), 'GET')
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in New Issue