]> git.andy128k.dev Git - ipf.git/commitdiff
ie6 - json response
authoravl <alex.litovchenko@gmail.com>
Tue, 2 Dec 2008 13:16:18 +0000 (15:16 +0200)
committeravl <alex.litovchenko@gmail.com>
Tue, 2 Dec 2008 13:16:18 +0000 (15:16 +0200)
ipf/http/response/json.php

index c305cee2836bc56d79a04792ce1ce972469cb01b..a12e55ada88bc43d175c4a5eda0d3c6c625a7acd 100644 (file)
@@ -2,6 +2,6 @@
 
 class IPF_HTTP_Response_Json extends IPF_HTTP_Response{
     function __construct($content){
-        parent::__construct(json_encode($content),'application/json');
+        parent::__construct(json_encode($content),'text/javascript');
     }
 }