mirror of
https://github.com/flextype/flextype.git
synced 2025-08-12 08:04:05 +02:00
feat(core): Added ability to override default constants
This commit is contained in:
16
bin/flextype
16
bin/flextype
@@ -15,22 +15,16 @@
|
||||
|
||||
namespace Flextype;
|
||||
|
||||
/**
|
||||
* Define the Flextype start time in current unix timestamp (microseconds).
|
||||
*/
|
||||
define('START_TIME', microtime(true));
|
||||
|
||||
/**
|
||||
* Define the PATH to the root directory (without trailing slash).
|
||||
*/
|
||||
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_NAME);
|
||||
define('PATH_TMP', ROOT_DIR . '/var/tmp');
|
||||
|
||||
/**
|
||||
* Ensure vendor libraries exist
|
||||
*/
|
||||
|
Reference in New Issue
Block a user