]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-stats.php
Fixed a typo, thanks to profi-concept. Function INCLUDE_READABLE() introduced
[mailer.git] / inc / modules / member / action-stats.php
index bd22b44803fed60dff75a7f63377115c8e12f995..ffdf51a6ef5eff4c11dc733d2972bffc0e39c967 100644 (file)
@@ -46,10 +46,10 @@ if (!defined('__SECURITY')) {
 ADD_DESCR("member", __FILE__);
 
 // Load the include file
-$INC_WHAT = sprintf("%sinc/modules/member/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what']));
-if (FILE_READABLE($INC_WHAT)) {
+$INC = sprintf("inc/modules/member/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
+if (INCLUDE_READABLE($INC)) {
        // Ok, we finally load the member action module
-       include_once($INC_WHAT);
+       LOAD_INC($INC);
 } else {
        addFatalMessage(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2);
 }