From 4329d54c09e166f978df937209d32758350ef28c Mon Sep 17 00:00:00 2001 From: kink Date: Sat, 14 Jul 2007 17:11:31 +0000 Subject: [PATCH] on second thought, revise r12527 to use one, generic constant PAGE_NAME, because that doesn't clutter the namespace as much. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12529 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- include/init.php | 2 +- src/signout.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/init.php b/include/init.php index 916bbcc9..fd507d2d 100644 --- a/include/init.php +++ b/include/init.php @@ -417,7 +417,7 @@ switch ($sInitLocation) { // signout page will deal with users who aren't logged // in on its own; don't show error here // - if ( defined('PAGE_SIGNOUT') ) { + if ( defined('PAGE_NAME') && PAGE_NAME == 'signout' ) { return; } diff --git a/src/signout.php b/src/signout.php index 606a050a..2c5dac51 100644 --- a/src/signout.php +++ b/src/signout.php @@ -12,7 +12,7 @@ */ /** This is the signout page */ -define('PAGE_SIGNOUT', 1); +define('PAGE_NAME', 'signout'); /** * Include the SquirrelMail initialization file. -- 2.25.1