X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-stats.php;h=c7e9111a816d9aaa8d0e6449158de7acb0d34c44;hb=c47144dd555bbab4acdf9085e4623900dedb0e7c;hp=93777ec44759e436ef1e99fd271dd4ef9f53e6b6;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5;p=mailer.git diff --git a/inc/modules/member/action-stats.php b/inc/modules/member/action-stats.php index 93777ec447..c7e9111a81 100644 --- a/inc/modules/member/action-stats.php +++ b/inc/modules/member/action-stats.php @@ -43,15 +43,15 @@ if (!defined('__SECURITY')) { } // Add description as navigation point -ADD_DESCR("member", basename(__FILE__)); +ADD_DESCR("member", __FILE__); // Load the include file -$INC_WHAT = sprintf("%sinc/modules/member/what-%s.php", PATH, $GLOBALS['what']); -if (FILE_READABLE($INC_WHAT)) { +$INC = sprintf("inc/modules/member/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); +if (FILE_READABLE($INC)) { // Ok, we finally load the member action module - include_once($INC_WHAT); + LOAD_INC($INC); } else { - ADD_FATAL(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2); + addFatalMessage(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2); } //