From c3f0482a3637f78167eabfce1d4c27a20f45ad4f Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 17 Jun 2022 12:36:43 +0300 Subject: [PATCH] feat(console): use new constants naming --- bin/flextype | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/bin/flextype b/bin/flextype index 6ca2c8f3..a165d33a 100755 --- a/bin/flextype +++ b/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