Fixes for sql_patches removal vs. password reset of admin
[mailer.git] / inc / modules / admin / action-theme.php
index 651d82ad4b1aa9cb450debd242a82189d4763d74..8b702b0aef2034eaac32eaf1dc6c07475cc7d4d7 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