]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-guest.php
Possible fix for non-working profile update
[mailer.git] / inc / modules / member / what-guest.php
index 97fe132352085ca0cb80892e015e50c727a5b75e..bded579f07ff21abc95ea5b84d406be1a2dd4be6 100644 (file)
 
 // 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 (!IS_MEMBER()) {
-       LOAD_URL('modules.php?module=index');
+       redirectToUrl('modules.php?module=index');
 }
 
 // Add description as navigation point
 ADD_DESCR('member', __FILE__);
 
 // Simply redirect...
-LOAD_URL('modules.php?module=index');
+redirectToUrl('modules.php?module=index');
 //
 ?>