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:
@@ -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');
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user