]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-sponsor.php
More improved SQL queries
[mailer.git] / inc / modules / admin / action-sponsor.php
index f840cf94f4a9da7f580dee883fc458c4f3fee96b..b9452b79586a9b73c3aa1fac8b0842860532c505 100644 (file)
@@ -41,10 +41,10 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 ADD_DESCR("admin", __FILE__);
 
 // Load the include file
-$INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what']));
+$INC = sprintf("inc/modules/admin/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
 if (FILE_READABLE($INC)) {
        // Ok, we finally load the admin action module
-       include($INC);
+       LOAD_INC($INC);
 } else {
        addFatalMessage(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
 }