]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-user.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / action-user.php
index bcbedfb1f8cac194aa2c193698c95c130eea77e1..d30f3da3baeb56b57e7bfc6845a9a3b1a4b0c2fe 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * 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 - 2015 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 *
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!isAdmin())) {
-       die();
+       exit();
 } // END - if
 
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
+$inc = sprintf('inc/modules/admin/what-%s.php', getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
-       loadInclude($inc);
+       loadIncludeOnce($inc);
 } else {
-       addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}', getWhat());
+       addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}');
 }
 
 // [EOF]