mcramer
2013-09-05 88629fa777a30e42ac694c25caa592f809b679b2
- Changed content-type of json remote

1 files modified
3 ■■■■ changed files
interface/lib/classes/json_handler.inc.php 3 ●●●● patch | view | raw | blame | history
interface/lib/classes/json_handler.inc.php
@@ -74,7 +74,8 @@
        $ret->code = $code;
        $ret->message = $message;
        $ret->response = $data;
        header('Content-Type: application/x-json; charset="utf-8"');
        header('Content-Type: application/json; charset="utf-8"');
        print json_encode($ret);
        exit;
    }