X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=errors.php;h=f7333fd1af0098c4fba6bf1128e30fbfa9ad1990;hb=346297d4d216e58566e6f35b7b6fbd2235f46258;hp=6e252ba08953c976e1ba07fae44fbde3b79530d4;hpb=d3f24242f8d295567332a2813216a9b003d56781;p=tt-rss.git diff --git a/errors.php b/errors.php index 6e252ba0..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"; + } + } ?>