X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=errors.php;h=f7333fd1af0098c4fba6bf1128e30fbfa9ad1990;hb=refs%2Ftags%2F1.15.2;hp=bab8647d098fe1e17658b76d0c0b9b5460a94d07;hpb=b4c27af79aa9924b31959153622032d3c83ddc82;p=tt-rss.git diff --git a/errors.php b/errors.php index bab8647d..f7333fd1 100644 --- a/errors.php +++ b/errors.php @@ -1,28 +1,50 @@ $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"; + } + } ?>