From af84979465f4d15b009c2d4f03a58ba6d83e39ce Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sun, 30 Dec 2018 00:53:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=B0=83=E8=AF=95=E5=B8=B8?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.php | 4 ++-- public/core.php | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/config/app.php b/config/app.php index 1c8309a6a..9fb2584c0 100755 --- a/config/app.php +++ b/config/app.php @@ -19,9 +19,9 @@ return [ // 应用地址 'app_host' => '', // 应用调试模式 - 'app_debug' => defined('APP_DEBUG') ? APP_DEBUG : false, + 'app_debug' => false, // 应用Trace - 'app_trace' => defined('APP_TRACE') ? APP_TRACE : false, + 'app_trace' => false, // 是否支持多模块 'app_multi_module' => true, // 入口自动绑定模块 diff --git a/public/core.php b/public/core.php index 75376f6c2..81904f6eb 100755 --- a/public/core.php +++ b/public/core.php @@ -39,12 +39,6 @@ define('__MY_VIEW_URL__', substr(__MY_URL__, 0, -1).$request_url); // 系统版本 define('APPLICATION_VERSION', 'v1.2.0'); -// 调试模式 建议开发阶段开启 部署阶段注释或者设为false -define('APP_DEBUG', false); - -// 应用Trace 建议开发阶段开启 部署阶段注释或者设为false -define('APP_TRACE', false); - // 定义系统目录分隔符 define('DS', '/'); -- GitLab