summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-19 15:46:23 +0100
committerAndrew Dolgov <[email protected]>2005-11-19 15:46:23 +0100
commit262bd8ea53c3e96bfeb1d82d952ab7cc2f67e8e4 (patch)
tree72a4b4f7ad198327df0cbc53151e5c9ee66c9222 /error.php
parentd34169139c3d1203b8c882ae9c254eb3f31b0dd7 (diff)
automatically logout user when session expires
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>