]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-bank.php
Updated copyright notice as there are changes in this year
[mailer.git] / inc / modules / member / action-bank.php
index 542012af60b1c40885a158873ffcfc972856572f..9458b55c290cfb1719745e02070b33d4939f4f57 100644 (file)
@@ -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 - 2013 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,7 +57,7 @@ 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__, '{--MEMBER_WHAT_404--}');
 }