1
0
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:
Awilum
2022-06-09 20:11:22 +03:00
parent 83e1d753b3
commit 36a649a371
61 changed files with 150 additions and 152 deletions

View File

@@ -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