diff options
author | Andrew Dolgov <[email protected]> | 2005-11-19 15:46:23 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-19 15:46:23 +0100 |
commit | 262bd8ea53c3e96bfeb1d82d952ab7cc2f67e8e4 (patch) | |
tree | 72a4b4f7ad198327df0cbc53151e5c9ee66c9222 /error.php | |
parent | d34169139c3d1203b8c882ae9c254eb3f31b0dd7 (diff) |
automatically logout user when session expires
Diffstat (limited to 'error.php')
-rw-r--r-- | error.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -17,6 +17,12 @@ $ERRORS[5] = "Incorrect database schema version."; + $ERRORS[6] = "Not authorized."; + + if ($_GET["c"] == 6) { + header("Location: login.php"); + } + ?> <html> |