summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
Diffstat (limited to 'error.php')
-rw-r--r--error.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/error.php b/error.php
index 1fd59ed70..1569d309e 100644
--- a/error.php
+++ b/error.php
@@ -17,6 +17,12 @@
$ERRORS[5] = "Incorrect database schema version.";
+ $ERRORS[6] = "Not authorized.";
+
+ if ($_GET["c"] == 6) {
+ header("Location: login.php");
+ }
+
?>
<html>