]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-theme.php
'what' files should be loaded only once
[mailer.git] / inc / modules / admin / action-theme.php
index cb3dc4a4ea9912ec485ad1fef9c66a5c8f3e604e..65eb3c2857c1a25edcd196a218d901ff83094909 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
@@ -47,9 +47,9 @@ addYouAreHereLink('admin', __FILE__);
 $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]