...
|
...
|
@@ -140,11 +140,7 @@ class Controller_Abstract extends Framework_YController |
|
|
*/
|
|
|
protected function returnJson($status = true, $code = 0, $data = '', $message = '')
|
|
|
{
|
|
|
if ($this->_request->isAjax())
|
|
|
{
|
|
|
header('Content-Type: application/json; charset=utf-8;');
|
|
|
}
|
|
|
|
|
|
header('Content-Type: application/json; charset=utf-8;');
|
|
|
return Util_Json::encode(array(
|
|
|
'status' => $status,
|
|
|
'code' => $code,
|
...
|
...
|
|