From 959710ce11f5116647f04d484865ed786754632e Mon Sep 17 00:00:00 2001 From: Devil Date: Fri, 23 Jul 2021 21:07:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=BA=94=E7=94=A8=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common.php b/app/common.php index dcac8726c..29547b5f2 100755 --- a/app/common.php +++ b/app/common.php @@ -151,7 +151,7 @@ function MyView($view = '', $data = []) */ function RequestModule() { - return strtolower(\think\facade\App::initialize()->http->getName()); + return strtolower(app('http')->getName()); } /**