]> git.wh0rd.org - tt-rss.git/blobdiff - errors.php
pngcrush.sh
[tt-rss.git] / errors.php
index 405da09ccabdb453bb9b5edeaf9d23e815f1228e..d9185307a7bb8430b352b81bb35617141402c4b4 100644 (file)
 
        $ERRORS[12] = __("SQL escaping test failed, check your database and PHP configuration");
 
+       $ERRORS[13] = __("Method not found");
+
+       $ERRORS[14] = __("Plugin not found");
+
        if ($_REQUEST['mode'] == 'js') {
-               header("Content-Type: text/plain; charset=UTF-8");
+               header("Content-Type: text/javascript; charset=UTF-8");
 
                print "var ERRORS = [];\n";