fuyu 6 лет назад
Родитель
Сommit
f6ef627a1b
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      thinkphp/library/think/Controller.php

+ 0 - 1
thinkphp/library/think/Controller.php

@@ -57,7 +57,6 @@ class Controller
         header('Access-Control-Allow-Credentials:true');
         header('Access-Control-Allow-Method:POST,GET');
         header('Access-Control-Allow-Headers:x-requested-with, content-type');
-        header('Content-Type:application/json; charset=utf-8');
         $this->view    = View::instance(Config::get('template'), Config::get('view_replace_str'));
         $this->request = is_null($request) ? Request::instance() : $request;