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