命令行兼容
parent
61b542f1b6
commit
3370f9e406
|
|
@ -19,9 +19,9 @@ return [
|
|||
// 应用地址
|
||||
'app_host' => '',
|
||||
// 应用调试模式
|
||||
'app_debug' => APP_DEBUG,
|
||||
'app_debug' => defined('APP_DEBUG') ? APP_DEBUG : false,
|
||||
// 应用Trace
|
||||
'app_trace' => APP_TRACE,
|
||||
'app_trace' => defined('APP_TRACE') ? APP_TRACE : false,
|
||||
// 是否支持多模块
|
||||
'app_multi_module' => true,
|
||||
// 入口自动绑定模块
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ return [
|
|||
'cache_common_home_nav_footer_key' => 'cache_common_home_nav_footer_data',
|
||||
|
||||
// 图片host, 数据库图片地址以/Public/...开头
|
||||
'images_host' => substr(__MY_PUBLIC_URL__, 0, -1),
|
||||
'images_host' => defined('__MY_PUBLIC_URL__') ? substr(__MY_PUBLIC_URL__, 0, -1) : '',
|
||||
|
||||
// 开启U带域名
|
||||
'url_domain_deploy' => true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue