X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Faction-theme.php;h=05cc6dd7a62eed21d7974e922ce8e0d3bf4755a0;hb=1cf72a9c1a5e737509af79d49f0731da2eb6a218;hp=b832d39e2a70ac34cdf2b67bc625ff22110c1870;hpb=3daede4c904e23905c3e48dd6749019deca0a0e0;p=mailer.git diff --git a/inc/modules/admin/action-theme.php b/inc/modules/admin/action-theme.php index b832d39e2a..05cc6dd7a6 100644 --- a/inc/modules/admin/action-theme.php +++ b/inc/modules/admin/action-theme.php @@ -41,12 +41,12 @@ 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); + addFatalMessage(getMessage('ADMIN_ACTION_404'), $GLOBALS['what']); } //