$$router to $$core

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2024-12-16 20:01:33 +07:00
parent 24fcef43f7
commit 9b958b6a88

View File

@ -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')
;