]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-admin.php
introduced isSqlResult() which encapsulates checking MySQL/i results
[mailer.git] / inc / modules / guest / action-admin.php
index 77d8e1de7cf5537eb6164efb2e2a452d3b5c08bf..cec8492a14e07a141fcad7282096efa1ea63de13 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Administrative Links                             *
  * -------------------------------------------------------------------- *
- * $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 - 2016 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__);
 
 // Only when one admin link is clicked...
-$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--}');
 }