From 9b958b6a88ec208f40130768f64e5f64c2800998 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Mon, 16 Dec 2024 20:01:33 +0700 Subject: [PATCH] $$router to $$core --- author/project/system/public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/author/project/system/public/index.php b/author/project/system/public/index.php index 37327ab..4521b36 100755 --- a/author/project/system/public/index.php +++ b/author/project/system/public/index.php @@ -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') ;