From 4e534051b7f7533b1298373351bff55d754f593d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 12 Aug 2021 17:28:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Error/Logger.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/System/Error/Logger.php b/System/Error/Logger.php index e9aef137..c992ee72 100644 --- a/System/Error/Logger.php +++ b/System/Error/Logger.php @@ -146,8 +146,7 @@ class Logger extends Component */ public function output($message, string $method = 'default') { - var_dump(Config::get('environment', 'pro')); - if (Config::get('environment', 'pro') == 'pro') { + if (Config::get('environment', 'dev') == 'pro') { if ($method === 'error') { echo $message; }