]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-surfbar_stats.php
More bugs resolved, thanks to profi-concept
[mailer.git] / inc / modules / member / what-surfbar_stats.php
index 7e7101b6f8bb0a9c5bc3f06ea69119d2186ba859..a79ab6da58f32e91b67b2b285286bc6fd2ee19bc 100644 (file)
@@ -36,7 +36,10 @@ 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