summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-01 10:43:54 +0100
committerAndrew Dolgov <[email protected]>2007-03-01 10:43:54 +0100
commit01a87dff9efecf9070b652f59a52e55bd2db1906 (patch)
treecdb2be616dfae0a8b8c8a1e9f31bf167ba84e6f7 /utils
parent81596c6612ed98ea2d648300e28bbe1661d97165 (diff)
rework login process, drop http auth
Diffstat (limited to 'utils')
-rw-r--r--utils/stats.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/stats.php b/utils/stats.php
index 5bc4355db..51dcaf59a 100644
--- a/utils/stats.php
+++ b/utils/stats.php
@@ -12,7 +12,8 @@
login_sequence($link);
if ($_SESSION["access_level"] < 10) {
- header("Location: login.php"); die;
+ print "<p>Error: your access level is insufficient to run this script.</p>";
+ exit;
}
?>