]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-user.php
Continue link added, contributed by profi-concept. Partly resolves #3
[mailer.git] / inc / modules / admin / action-user.php
index b2a3e9e1ac048784dc06e591b619a7ebb3ae605b..cdc524036e89412c770109488f1d3750c5a7026d 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
-       require($INC);
+       LOAD_INC($INC);
 } else {
        addFatalMessage(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
 }