Commit cb2e1036 authored by tufengqi's avatar tufengqi

finish

parent 67a32084
...@@ -86,9 +86,9 @@ defined('YII_DEBUG') || define('YII_DEBUG', $yii_debug); ...@@ -86,9 +86,9 @@ defined('YII_DEBUG') || define('YII_DEBUG', $yii_debug);
defined('YII_ENV_DEV') || define('YII_ENV_DEV', $yii_is_dev); defined('YII_ENV_DEV') || define('YII_ENV_DEV', $yii_is_dev);
$GLOBALS['GLOBAL_VERSION_VALUE'] = $version_val; $GLOBALS['GLOBAL_VERSION_VALUE'] = $version_val;
$GLOBALS['GLOBAL_VERSION_VALUE_NO_PTEFIX'] = $version_val_no_prefix; $GLOBALS['GLOBAL_VERSION_VALUE_NO_PTEFIX'] = $version_val_no_prefix;
if(file_exists($base_path . 'vendor/yii2_33cn_dev/')){ if ((SERVICE_ENV === 'test' || !SERVICE_ENV) && file_exists($base_path . 'vendor/yii2_33cn_dev/')) {
$GLOBALS['GLOBAL_YII_SYSTEM_APP'] = $base_path . 'vendor/yii2_33cn_dev/'; $GLOBALS['GLOBAL_YII_SYSTEM_APP'] = $base_path . 'vendor/yii2_33cn_dev/';
}else{ } else {
$GLOBALS['GLOBAL_YII_SYSTEM_APP'] = $base_path . 'vendor/yii2_33cn/'; $GLOBALS['GLOBAL_YII_SYSTEM_APP'] = $base_path . 'vendor/yii2_33cn/';
} }
$GLOBALS['GLOBAL_YII_USER_APP'] = $base_path . 'application/'; $GLOBALS['GLOBAL_YII_USER_APP'] = $base_path . 'application/';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment