]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-setup.php
Fixes for sql_patches removal vs. password reset of admin
[mailer.git] / inc / modules / admin / action-setup.php
index 5cf0b0c60fa7ac48a059759a82d29fb388076371..b9e372ccad2e072b719dc5c2be5b8f2b86d6bfbd 100644 (file)
@@ -42,15 +42,13 @@ 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']);
-if (file_exists($INC))
-{
+$INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, $GLOBALS['what']);
+if (file_exists($INC)) {
        // Ok, we finally load the admin action module
        include($INC);
-}
- else
-{
+} else {
        ADD_FATAL(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
 }
+
 //
 ?>