From a6eb8087b7fa296c4dafe8670c628344144edc85 Mon Sep 17 00:00:00 2001 From: e107steved Date: Thu, 10 Dec 2009 20:19:54 +0000 Subject: [PATCH] Notice removal --- login.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/login.php b/login.php index 4a1d340be..49698ba5c 100644 --- a/login.php +++ b/login.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/login.php,v $ -| $Revision: 1.10 $ -| $Date: 2009-11-18 01:04:24 $ -| $Author: e107coders $ +| $Revision: 1.11 $ +| $Date: 2009-12-10 20:19:54 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -63,11 +63,11 @@ if (!USER) $LOGIN_TABLE_AUTOLOGIN_LAN = LAN_LOGIN_8; $LOGIN_TABLE_SUBMIT = ""; - if (!$LOGIN_TABLE) + if (!isset($LOGIN_TABLE) || !$LOGIN_TABLE) { - if (file_exists(THEME."login_template.php")) + if (file_exists(THEME.'login_template.php')) { - require_once(THEME."login_template.php"); + require_once(THEME.'login_template.php'); } else { @@ -92,5 +92,4 @@ echo ""; $sql->db_Close(); - ?> \ No newline at end of file