X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsignout.php;h=ea3b95e0a4bb80832295ca260bc8b4edf4c2ff34;hb=c3ccfa1912b4ca47279d259bb587ceb293ce5d83;hp=11da8f227c0e9672778500d2c52d0fa3bd4b1c1c;hpb=e8bef7f4cac316e48561ca396cded409b09767a8;p=squirrelmail.git diff --git a/src/signout.php b/src/signout.php index 11da8f22..ea3b95e0 100644 --- a/src/signout.php +++ b/src/signout.php @@ -3,7 +3,7 @@ /** * signout.php -- cleans up session and logs the user out * - * Copyright (c) 1999-2002 The SquirrelMail Project Team + * Copyright (c) 1999-2003 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Cleans up after the user. Resets cookies and terminates session. @@ -39,13 +39,9 @@ if (!isset($frame_top)) { /* If a user hits reload on the last page, $base_uri isn't set * because it was deleted with the session. */ -if (!isset($_SESSION['base_uri'])) { - if (!function_exists('sqm_baseuri')){ - require_once(SM_PATH . 'functions/display_messages.php'); - } +if (! sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION) ) { + require_once(SM_PATH . 'functions/display_messages.php'); $base_uri = sqm_baseuri(); -} else { - $base_uri = $_SESSION['base_uri']; } do_hook('logout'); @@ -64,7 +60,7 @@ if ($signout_page) { - + @@ -74,13 +70,14 @@ if ($signout_page) { link="" vlink="" alink="">

-' .