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:
25
errors.php
Normal file
25
errors.php
Normal 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";
|
||||
?>
|
||||
Reference in New Issue
Block a user