From 5fe4848b5a734bf48c118730af15d2497c1f3261 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 12 Feb 2009 10:29:19 +0300 Subject: reinstate redirecting login system (problems with Gears) --- functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 21355f782..6e386c508 100644 --- a/functions.php +++ b/functions.php @@ -1918,7 +1918,8 @@ } if (!$_SESSION["uid"] || !validate_session($link)) { - render_login_form($link, $mobile); + //render_login_form($link, $mobile); + header("Location: login.php"); exit; } else { /* bump login timestamp */ -- cgit v1.2.3