X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-repair.php;h=f94fd846efe74faefe89e2dfce6f32960a0dcfb3;hb=ab92fb7241d00636b0eb940f147449758820cba1;hp=c6565fd0ede5b58655f3fb5ee19dce64e16cb911;hpb=e3d9cad1ecbc188f33fbc909e6df2b2d4aeefa0e;p=mailer.git diff --git a/inc/modules/admin/action-repair.php b/inc/modules/admin/action-repair.php index c6565fd0ed..f94fd846ef 100644 --- a/inc/modules/admin/action-repair.php +++ b/inc/modules/admin/action-repair.php @@ -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); }