summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
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;
}
?>