X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-surfbar_stats.php;h=a79ab6da58f32e91b67b2b285286bc6fd2ee19bc;hp=41110ed24bf6a854b3064fc683900d9cb591b9b0;hb=3daede4c904e23905c3e48dd6749019deca0a0e0;hpb=07a07340291a560c3da7715d4d51c9b2f0d2adf2 diff --git a/inc/modules/member/what-surfbar_stats.php b/inc/modules/member/what-surfbar_stats.php index 41110ed24b..a79ab6da58 100644 --- a/inc/modules/member/what-surfbar_stats.php +++ b/inc/modules/member/what-surfbar_stats.php @@ -36,11 +36,14 @@ if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } elseif (!IS_MEMBER()) { - LOAD_URL(URL."/modules.php?module=index"); + LOAD_URL("modules.php?module=index"); +} elseif ((!EXT_IS_ACTIVE("surfbar")) && (!IS_ADMIN())) { + addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "surfbar"); + return; } // Add description as navigation point -ADD_DESCR("member", basename(__FILE__)); +ADD_DESCR("member", __FILE__); // ?>