]> git.wh0rd.org Git - tt-rss.git/commitdiff
noxml option in url to prevent setting xml content-type for rpc debugging
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 19 Nov 2005 05:10:29 +0000 (06:10 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 19 Nov 2005 05:10:29 +0000 (06:10 +0100)
backend.php

index 6dec10d1698a42aa4d8566572170a407cfcaf860..ab82cc3c3ef25d78e5867fc2214e6c18a54097a1 100644 (file)
@@ -13,7 +13,7 @@
 
        $op = $_REQUEST["op"];
 
-       if ($op == "rpc" || $op == "updateAllFeeds") {
+       if (($op == "rpc" || $op == "updateAllFeeds") && !$_REQUEST["noxml"]) {
                header("Content-Type: application/xml");
        }