]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-main.php
First batch of removal of the headers needed for revision-functions.php
[mailer.git] / inc / modules / guest / action-main.php
index c18a7eafc7e5f0fd0dab0678d6a090999d6215ad..0a5ab45a450df5f7ab5250941f97077cbd65a675 100644 (file)
  * -------------------------------------------------------------------- *
  * 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                   *
+ * 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 *
@@ -37,7 +32,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } elseif (isBlockModeEnabled()) {
        // Block mode detected
        return;
@@ -47,10 +42,10 @@ 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_WHAT_404--}');
 }