X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-coupon.php;h=74a2f25da94b8ad4694915a3d1c0d377dc6a54ef;hp=7edf01ff4da54ff597bb3fdf8178b3e4f547a064;hb=e5848e7e22dffe36ea207111a3a4ed1f7d5a8639;hpb=c6017cf76200e2a5e68bd1984fa2d31f0e3be9d8 diff --git a/inc/modules/member/action-coupon.php b/inc/modules/member/action-coupon.php index 7edf01ff4d..74a2f25da9 100644 --- a/inc/modules/member/action-coupon.php +++ b/inc/modules/member/action-coupon.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 - 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()) { @@ -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()); }