]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-login.php
Continue link added, contributed by profi-concept. Partly resolves #3
[mailer.git] / inc / modules / admin / action-login.php
index ff9a9ec376717da7e1ce9586510c2484cc9cb2b0..cc980cf9b74e81d37c7f747e3cfb608e106f3e20 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);
 }