]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-account.php
More variables renamed to , install/admin_WriteData() is now generic (with open TODO)
[mailer.git] / inc / modules / member / action-account.php
index 538709a7cbd77e9ac603904e48729e0202fcb0d0..dc1568083ff03117997f540f86c4531d592b6db3 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
-       require($INC_WHAT);
+       LOAD_INC($INC);
 } else {
        addFatalMessage(MEMBER_404_ACTION_1.$GLOBALS['what'].MEMBER_404_ACTION_2);
 }