X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=errors.php;h=d9185307a7bb8430b352b81bb35617141402c4b4;hb=81fc862e370a1dfbd3941206fd00076e3cbf0551;hp=bab8647d098fe1e17658b76d0c0b9b5460a94d07;hpb=b4c27af79aa9924b31959153622032d3c83ddc82;p=tt-rss.git diff --git a/errors.php b/errors.php index bab8647d..d9185307 100644 --- a/errors.php +++ b/errors.php @@ -1,28 +1,54 @@ $error) { - $ERRORS[9] = _("Configuration check failed"); + $error = preg_replace("/\n/", "", $error); + $error = preg_replace("/\"/", "\\\"", $error); - $ERRORS[10] = _("Your version of MySQL is not currently supported. Please see - official site for more information."); + print "ERRORS[$id] = \"$error\";\n"; + } + } ?>