X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-main.php;h=320ca5ba75423aee48315e7d6342a33caa5928a9;hb=155492a5b96cec674846973a8524238b0365a848;hp=8bc2251a9eedef3adfde0655d9592d730caa92c4;hpb=fc162164725588cf75969f707faead9c9cd8e68b;p=mailer.git diff --git a/inc/modules/guest/action-main.php b/inc/modules/guest/action-main.php index 8bc2251a9e..320ca5ba75 100644 --- a/inc/modules/guest/action-main.php +++ b/inc/modules/guest/action-main.php @@ -14,12 +14,10 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * 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 * @@ -39,22 +37,22 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } elseif (isBlockModeEnabled()) { // Block mode detected return; } // Add description as navigation point -addMenuDescription('guest', __FILE__); +addYouAreHereLink('guest', __FILE__); // 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_404_WHAT--}', getWhat()); + addFatalMessage(__FILE__, __LINE__, '{--GUEST_WHAT_404--}'); } // [EOF]