X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-logout.php;h=9f84f35fb5922c1c207f0b7587987184b503678e;hb=534f676dc29968019d4313922a9a26e467681e35;hp=4bd54e24a991c7fd079986294cc6e52873900313;hpb=2e715eb7f3f8ca8d259aacb4cbbddde7d9d18e01;p=mailer.git diff --git a/inc/modules/member/action-logout.php b/inc/modules/member/action-logout.php index 4bd54e24a9..9f84f35fb5 100644 --- a/inc/modules/member/action-logout.php +++ b/inc/modules/member/action-logout.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2015 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -37,7 +37,7 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } elseif (!isMember()) { redirectToIndexMemberOnlyModule(); } elseif (isBlockModeEnabled()) { @@ -49,12 +49,12 @@ if (!defined('__SECURITY')) { addYouAreHereLink('member', __FILE__); // Load the include file -$inc = sprintf("inc/modules/member/what-%s.php", getWhat()); +$inc = sprintf('inc/modules/member/what-%s.php', getWhat()); if (isIncludeReadable($inc)) { // Ok, we finally load the member action module - loadInclude($inc); + loadIncludeOnce($inc); } else { - addFatalMessage(__FILE__, __LINE__, getMaskedMessage('MEMBER_404_WHAT', getWhat())); + addFatalMessage(__FILE__, __LINE__, '{--MEMBER_WHAT_404--}'); } // [EOF]