X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-main.php;h=0273831d20cdf6d86496199320e2fd7586c9c57a;hb=f1cd2b7ae65e988f5be106f415136aaf92d60538;hp=c7ab4a6669239a9febb567cb746c344d25acec97;hpb=2e715eb7f3f8ca8d259aacb4cbbddde7d9d18e01;p=mailer.git diff --git a/inc/modules/guest/action-main.php b/inc/modules/guest/action-main.php index c7ab4a6669..0273831d20 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 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * 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 * * 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]