X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-bank.php;h=2f09914657d96a4318e324a498592f39b1dab44c;hb=49a9663311b732d12ba0c53af2f9eb39a7850fbc;hp=4980981e94d5641a628113b4d21f0cfcf34a23a1;hpb=db0c6702086eea2c44d0aae1702dc2e77a0afc4e;p=mailer.git diff --git a/inc/modules/member/action-bank.php b/inc/modules/member/action-bank.php index 4980981e94..2f09914657 100644 --- a/inc/modules/member/action-bank.php +++ b/inc/modules/member/action-bank.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()) { @@ -49,7 +49,7 @@ if (!defined('__SECURITY')) { addYouAreHereLink('member', __FILE__); if ((!isExtensionActive('bank')) && (!isAdmin())) { - displayMessage(generateExtensionInactiveNotInstalledMessage('bank')); + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=bank%}'); return; } // END - if @@ -57,9 +57,9 @@ if ((!isExtensionActive('bank')) && (!isAdmin())) { $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]