X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fguest%2Faction-main.php;h=0a5ab45a450df5f7ab5250941f97077cbd65a675;hb=4373e155854012d687fdfcae4c69d1a940883fab;hp=8a946cf7881b32e50c51489cac7f3284434f4907;hpb=e8ca54fe91872ab95a6ffdc4f1268bf18889021d;p=mailer.git diff --git a/inc/modules/guest/action-main.php b/inc/modules/guest/action-main.php index 8a946cf788..0a5ab45a45 100644 --- a/inc/modules/guest/action-main.php +++ b/inc/modules/guest/action-main.php @@ -10,14 +10,9 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Hauptmenue: Anmeldung, Login, Willkommen usw. * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 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 +32,7 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } elseif (isBlockModeEnabled()) { // Block mode detected return; @@ -47,12 +42,12 @@ if (!defined('__SECURITY')) { addYouAreHereLink('guest', __FILE__); // Load the include file -$inc = sprintf("inc/modules/guest/what-%s.php", getWhat()); +$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]