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 --- update.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index 1e6a44b40..34357f2f2 100644 --- a/update.php +++ b/update.php @@ -18,7 +18,8 @@ $owner_uid = $_SESSION["uid"]; if ($_SESSION["access_level"] < 10) { - header("Location: login.php"); die; + print "

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

"; + exit; } define('SCHEMA_VERSION', 13); -- cgit v1.2.3-54-g00ecf