mirror of
https://github.com/flextype/flextype.git
synced 2025-08-06 13:16:45 +02:00
feat(console): use new constants naming
This commit is contained in:
11
bin/flextype
11
bin/flextype
@@ -20,13 +20,16 @@ namespace Flextype;
|
||||
*/
|
||||
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',
|
||||
'tmp' => ROOT_DIR . '/var/tmp',
|
||||
]);
|
||||
define('PATH_PROJECT', ROOT_DIR . '/' . PROJECT_NAME);
|
||||
define('PATH_TMP', ROOT_DIR . '/var/tmp');
|
||||
|
||||
/**
|
||||
* Ensure vendor libraries exist
|
||||
|
Reference in New Issue
Block a user