]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-members.php
A lot code refactured to newly introduces wrapper function isNicknameUsed()
[mailer.git] / inc / modules / guest / action-members.php
index 6a3562f94f08d0f9e8051b4669941f045ddbf596..feed98a8b3c90ea76705b6cb2c7bc14b695a4e20 100644 (file)
@@ -38,7 +38,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif ($GLOBALS['block_mode']) {
        // Block mode detected
@@ -50,9 +50,9 @@ ADD_DESCR('guest', __FILE__);
 
 // Load the include file
 $INC = sprintf("inc/modules/guest/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
-if (INCLUDE_READABLE($INC)) {
+if (isIncludeReadable($INC)) {
        // Ok, we finally load the guest action module
-       LOAD_INC($INC);
+       loadInclude($INC);
 } else {
        addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_ACTION'), $GLOBALS['what']);
 }