X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fmember%2Fwhat-guest.php;h=bded579f07ff21abc95ea5b84d406be1a2dd4be6;hb=577dc42a316a339ffaff8c78223fc67e591293a6;hp=ab4f138e93f690bc80e38f5f88beaab8c7903873;hpb=fb7120ffa230b62b54895bcf95952e1cf30f8594;p=mailer.git diff --git a/inc/modules/member/what-guest.php b/inc/modules/member/what-guest.php index ab4f138e93..bded579f07 100644 --- a/inc/modules/member/what-guest.php +++ b/inc/modules/member/what-guest.php @@ -38,16 +38,16 @@ // 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__); +ADD_DESCR('member', __FILE__); // Simply redirect... -LOAD_URL("modules.php?module=index"); +redirectToUrl('modules.php?module=index'); // ?>