mirror of https://gitee.com/karson/fastadmin.git
修复环境变量 env 中设置 app_debug 后出现前后端不一致的问题。
parent
0c5e4cbe2e
commit
2e5710bbcd
|
|
@ -9,6 +9,7 @@
|
|||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
use think\Env;
|
||||
|
||||
return [
|
||||
// +----------------------------------------------------------------------
|
||||
|
|
@ -17,9 +18,9 @@ return [
|
|||
// 应用命名空间
|
||||
'app_namespace' => 'app',
|
||||
// 应用调试模式
|
||||
'app_debug' => true,
|
||||
'app_debug' => Env::get('app.debug', true),
|
||||
// 应用Trace
|
||||
'app_trace' => false,
|
||||
'app_trace' => Env::get('app.trace', false),
|
||||
// 应用模式状态
|
||||
'app_status' => '',
|
||||
// 是否支持多模块
|
||||
|
|
|
|||
Loading…
Reference in New Issue