From 24fcef43f709d531a3789d406788bc638aa143b3 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Mon, 16 Dec 2024 20:00:20 +0700 Subject: [PATCH] `PUBLIC` to `INDEX` lol --- author/project/system/public/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/author/project/system/public/index.php b/author/project/system/public/index.php index f3b9a35..37327ab 100755 --- a/author/project/system/public/index.php +++ b/author/project/system/public/index.php @@ -14,10 +14,10 @@ ini_set('display_errors', 1); ini_set('display_startup_errors', 1); */ // Initializing path to the public directory -define('PUBLIC', __DIR__); +define('INDEX', __DIR__); // Initializing path to the project root directory -define('ROOT', PUBLIC . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR); +define('ROOT', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR); // Initializing path to the directory of views define('VIEWS', realpath('..' . DIRECTORY_SEPARATOR . 'views'));