Fixes for sql_patches removal vs. password reset of admin
[mailer.git] / inc / modules / admin / action-task.php
index 692d4f0d3617bf7831a0ecb88f4f0d2d7cda9c30..4c7691cd5c899a26e3e010deddf27d10b5f809ba 100644 (file)
@@ -44,7 +44,7 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) {
 ADD_DESCR("admin", basename(__FILE__));
 
 // Load the include file
-$INC = sprintf(PATH."inc/modules/admin/what-%s.php", $GLOBALS['what']);
+$INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, $GLOBALS['what']);
 if (file_exists($INC))
 {
        // Ok, we finally load the admin action module