Fixes for sql_patches removal vs. password reset of admin
[mailer.git] / inc / modules / admin / action-login.php
index a66a1be3b4cdd29329f65b97daa4e8f431398fa0..17a0d0d3159cfbd213b9799fb7bb6c691be8f8d5 100644 (file)
@@ -42,7 +42,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