X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-logout.php;h=5d7612c970ee599b4d2e464c36b88c8fd9ba1d24;hb=968b5160ae624519f1a9491f00e0aeadf25729fb;hp=4e7ccf68d6dc8b5da21267e7c8dd3326536aac36;hpb=e5fe5afb17a5c8106f4c890234dfa39419e70f5d;p=mailer.git diff --git a/inc/modules/member/what-logout.php b/inc/modules/member/what-logout.php index 4e7ccf68d6..5d7612c970 100644 --- a/inc/modules/member/what-logout.php +++ b/inc/modules/member/what-logout.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -44,21 +45,21 @@ if (!defined('__SECURITY')) { } // Base URL for redirection (both cases) -$URL = 'modules.php?module=index&code='; +$url = 'modules.php?module=index&code='; if (destroyMemberSession()) { // Remove theme cookie as well - setTheme(''); + if (isExtensionActive('theme')) setTheme(''); // Logout completed - $URL .= getCode('LOGOUT_DONE'); + $url .= getCode('LOGOUT_DONE'); } else { // Cannot logout! :-( - $URL .= getCode('LOGOUT_FAILED'); + $url .= getCode('LOGOUT_FAILED'); } // Load the URL -redirectToUrl($URL); +redirectToUrl($url); // [EOF] ?>