X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-theme.php;h=d1e14ad33be7826e8c6e098cc141ed49cf920e02;hp=b832d39e2a70ac34cdf2b67bc625ff22110c1870;hb=397eb5dee2611cfaa1ff494d73e6785b88109cd6;hpb=3daede4c904e23905c3e48dd6749019deca0a0e0 diff --git a/inc/modules/admin/action-theme.php b/inc/modules/admin/action-theme.php index b832d39e2a..d1e14ad33b 100644 --- a/inc/modules/admin/action-theme.php +++ b/inc/modules/admin/action-theme.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); }