X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-main.php;h=3230e06098a87ef5121d361159b72f5930c67cc8;hb=49a9663311b732d12ba0c53af2f9eb39a7850fbc;hp=4fd861d71f0f87f71829cbb7707f300c686c6504;hpb=82cbb1b75e0091b6333fefd045903329b234b9fb;p=mailer.git diff --git a/inc/modules/member/action-main.php b/inc/modules/member/action-main.php index 4fd861d71f..3230e06098 100644 --- a/inc/modules/member/action-main.php +++ b/inc/modules/member/action-main.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 - 2012 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()) { @@ -52,7 +52,7 @@ addYouAreHereLink('member', __FILE__); $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__, '{--MEMBER_WHAT_404--}'); }