读取语言包时关闭app_trace

pull/41/head
devlike 2018-02-08 11:19:03 +08:00
parent 0abf374fda
commit 91f5dcf7f6
1 changed files with 1 additions and 0 deletions

View File

@ -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");