From 0551ebb4ef3e0d766743431dd0d9f1e4be48507a Mon Sep 17 00:00:00 2001 From: jengo Date: Wed, 11 Jul 2001 05:12:27 +0000 Subject: [PATCH] Fixed banners and fixed it checking sessions, if theres no sessionid, send them to login --- index.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 276a4c9246..e14b53c241 100755 --- a/index.php +++ b/index.php @@ -1,10 +1,7 @@ * - * -------------------------------------------- * - * Funding for this program was provided by http://www.checkwithmom.com * * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * @@ -14,6 +11,12 @@ /* $Id$ */ + if (! $sessionid) + { + Header('Location: login.php'); + exit; + } + /* This is the preliminary menuaction driver for the new multi-layered design */