From 01a87dff9efecf9070b652f59a52e55bd2db1906 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 1 Mar 2007 10:43:54 +0100 Subject: rework login process, drop http auth --- utils/stats.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/stats.php') 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 "

Error: your access level is insufficient to run this script.

"; + exit; } ?> -- cgit v1.2.3