1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 07:35:56 +00:00

better fatal error handling by frontend (remove error.php)

This commit is contained in:
Andrew Dolgov
2006-03-31 06:18:55 +01:00
parent 6e7f8d269e
commit af106b0ebe
8 changed files with 101 additions and 111 deletions

25
errors.php Normal file
View File

@@ -0,0 +1,25 @@
<?
$ERRORS[0] = "Unknown error";
$ERRORS[1] = "This program requires XmlHttpRequest " .
"to function properly. Your browser doesn't seem to support it.";
$ERRORS[2] = "This program requires cookies " .
"to function properly. Your browser doesn't seem to support them.";
$ERRORS[3] = "Backend sanity check failed";
$ERRORS[4] = "Frontend sanity check failed.";
$ERRORS[5] = "Incorrect database schema version.";
$ERRORS[6] = "Request not authorized.";
$ERRORS[7] = "No operation to perform.";
$ERRORS[8] = "Could not display feed: query failed. Please check label match syntax or local configuration.";
$ERRORS[8] = "Denied. Your access level is insufficient to access this page.";
$ERRORS[9] = "Configuration check failed";
?>