]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-coupon.php
Updated copyright year.
[mailer.git] / inc / modules / member / action-coupon.php
index 568644eb2eedb73776893984f8a1b8f5bfb4de3b..757cddad76db4cfcd16c1571c987503156c54ca3 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 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()) {
@@ -54,10 +54,10 @@ if ((!isExtensionActive('coupon')) && (!isAdmin())) {
 } // END - if
 
 // 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__, '{--MEMBER_WHAT_404--}', getWhat());
 }