1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-04 20:27:35 +02:00

feat(core): add new constant PROJECT_NAME

This commit is contained in:
Awilum
2022-06-10 20:25:50 +03:00
parent f347c49a34
commit af5b798ffe

View File

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