From 91f5dcf7f649c1b56f794ba4f682de5cd4e7266a Mon Sep 17 00:00:00 2001 From: devlike Date: Thu, 8 Feb 2018 11:19:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BB=E5=8F=96=E8=AF=AD=E8=A8=80=E5=8C=85?= =?UTF-8?q?=E6=97=B6=E5=85=B3=E9=97=ADapp=5Ftrace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Ajax.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/index/controller/Ajax.php b/application/index/controller/Ajax.php index c4e2e865..a5d2c18d 100644 --- a/application/index/controller/Ajax.php +++ b/application/index/controller/Ajax.php @@ -21,6 +21,7 @@ class Ajax extends Frontend */ public function lang() { + \think\Config::set('app_trace', false); header('Content-Type: application/javascript'); $callback = $this->request->get('callback'); $controllername = input("controllername");