mirror of
https://github.com/flextype/flextype.git
synced 2025-08-10 23:24:04 +02:00
feat(core): new constants PATH_PROJECT
and PATH_TMP
instead of old constant array PATH
This commit is contained in:
@@ -29,10 +29,8 @@ define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd()));
|
||||
/**
|
||||
* Define the PATH (without trailing slash).
|
||||
*/
|
||||
define('PATH', [
|
||||
'project' => ROOT_DIR . '/project',
|
||||
'tmp' => ROOT_DIR . '/var/tmp',
|
||||
]);
|
||||
define('PATH_PROJECT', ROOT_DIR . '/project');
|
||||
define('PATH_TMP', ROOT_DIR . '/var/tmp');
|
||||
|
||||
/**
|
||||
* Ensure vendor libraries exist
|
||||
|
Reference in New Issue
Block a user