X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-;h=d2070110d80a7f6af59221ef04c6c24e2a235c22;hp=ff7b1c2f41b3dda174875f63368c9a89f9aa3e9c;hb=63f159414369b5ea19a8ca75d8cd8033c45d8341;hpb=c6017cf76200e2a5e68bd1984fa2d31f0e3be9d8 diff --git a/inc/modules/guest/action- b/inc/modules/guest/action- index ff7b1c2f41..d2070110d8 100644 --- a/inc/modules/guest/action- +++ b/inc/modules/guest/action- @@ -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 (isBlockModeEnabled()) { // Block mode detected return; @@ -49,13 +49,13 @@ addYouAreHereLink('guest', __FILE__); if ((!isExtensionActive('')) && (!isAdmin())) { displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=%}'); return; -} +} // END - if // Load the include file $inc = sprintf("inc/modules/guest/what-%s.php", getWhat()); if (isIncludeReadable($inc)) { // Ok, we finally load the guest action module - loadInclude($inc); + loadIncludeOnce($inc); } else { addFatalMessage(__FILE__, __LINE__, '{--GUEST_WHAT_404--}'); }