From 37ae0546fd91428aa3432bf31c615b156087f32f Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Mon, 16 Dec 2024 15:52:52 +0700 Subject: [PATCH] `INDEX` to `PUBLIC` --- 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 e49b21a..f3b9a35 100755 --- a/author/project/system/public/index.php +++ b/author/project/system/public/index.php @@ -17,7 +17,7 @@ ini_set('display_startup_errors', 1); */ define('PUBLIC', __DIR__); // Initializing path to the project root directory -define('ROOT', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR); +define('ROOT', PUBLIC . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR); // Initializing path to the directory of views define('VIEWS', realpath('..' . DIRECTORY_SEPARATOR . 'views'));