From af5b798ffee356b8be9970a592ae38167eb0b606 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 10 Jun 2022 20:25:50 +0300 Subject: [PATCH] feat(core): add new constant `PROJECT_NAME` --- index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index efd5a340..725de3a7 100755 --- a/index.php +++ b/index.php @@ -26,10 +26,15 @@ use function str_replace; */ define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd())); +/** + * Define the project name. + */ +define('PROJECT_NAME', 'project'); + /** * Define the PATH (without trailing slash). */ -define('PATH_PROJECT', ROOT_DIR . '/project'); +define('PATH_PROJECT', ROOT_DIR . '/' . PROJECT_NAME); define('PATH_TMP', ROOT_DIR . '/var/tmp'); /**