]> git.wh0rd.org - tt-rss.git/commitdiff
block RSS_BACKEND_TYPEs other than magpie
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 31 Jul 2006 06:44:28 +0000 (07:44 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 31 Jul 2006 06:44:28 +0000 (07:44 +0100)
sanity_check.php

index 7a3913337dffc103713d582b0256255f18eb3021..e234307363c364bd81530fcddd40d98a5fbca84a 100644 (file)
                from your TT-RSS instance.";
                exit;
        }
+
+       if (RSS_BACKEND_TYPE != "magpie") {
+               print "<b>Fatal Error</b>: RSS backends other than magpie are not
+               supported now.";
+               exit;
+       }
 ?>