X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-main.php;h=3230e06098a87ef5121d361159b72f5930c67cc8;hb=49a9663311b732d12ba0c53af2f9eb39a7850fbc;hp=04f3b7c04d83f4e533e577eecd3d2f22e7cb3017;hpb=20741b93fd58620af677a7f1039ffd16ea6ec689;p=mailer.git diff --git a/inc/modules/member/action-main.php b/inc/modules/member/action-main.php index 04f3b7c04d..3230e06098 100644 --- a/inc/modules/member/action-main.php +++ b/inc/modules/member/action-main.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * 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 * @@ -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--}'); }