mailer project continued:
[mailer.git] / inc / modules / guest / action-
index ff7b1c2f41b3dda174875f63368c9a89f9aa3e9c..d2070110d80a7f6af59221ef04c6c24e2a235c22 100644 (file)
@@ -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;
@@ -49,13 +49,13 @@ addYouAreHereLink('guest', __FILE__);
 if ((!isExtensionActive('')) && (!isAdmin())) {
        displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=%}');
        return;
-}
+} // END - if
 
 // 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_WHAT_404--}');
 }