on second thought, revise r12527 to use one, generic constant
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 14 Jul 2007 17:11:31 +0000 (17:11 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 14 Jul 2007 17:11:31 +0000 (17:11 +0000)
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
src/signout.php

index 916bbcc..fd507d2 100644 (file)
@@ -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;
             }
 
index 606a050..2c5dac5 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 /** This is the signout page */
-define('PAGE_SIGNOUT', 1);
+define('PAGE_NAME', 'signout');
 
 /**
  * Include the SquirrelMail initialization file.