X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-admin.php;h=8b4b40100921cc56570d108210964fb9ad55a5a9;hp=defe162ffbed893008d923b13479f56d57833a89;hb=63f159414369b5ea19a8ca75d8cd8033c45d8341;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2 diff --git a/inc/modules/guest/action-admin.php b/inc/modules/guest/action-admin.php index defe162ffb..8b4b401009 100644 --- a/inc/modules/guest/action-admin.php +++ b/inc/modules/guest/action-admin.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 (isBlockModeEnabled()) { // Block mode detected return; @@ -50,9 +50,9 @@ addYouAreHereLink('guest', __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_404_WHAT--}', getWhat()); + addFatalMessage(__FILE__, __LINE__, '{--GUEST_WHAT_404--}'); } // [EOF]