]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-
All, except security block, include()/require() rewritten to own LOAD_INC()/LOAD_INC_...
[mailer.git] / inc / modules / member / action-
index 7fcb665657897a4e9dcea8737a76602251da7105..91e6a066ab0f6dd1d1575a48b05b25ea888a2a87 100644 (file)
@@ -49,10 +49,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 (FILE_READABLE($INC)) {
        // Ok, we finally load the member action module
-       require($INC_WHAT);
+       LOAD_INC($INC);
 } else {
        addFatalMessage(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2);
 }