]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-surfbar_stats.php
Several bugfixes, getMessage() introduced
[mailer.git] / inc / modules / member / what-surfbar_stats.php
index 41110ed24bf6a854b3064fc683900d9cb591b9b0..a1d6f979e33926fc17452c2b9d9cc2882b64ba3a 100644 (file)
@@ -37,10 +37,13 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL(URL."/modules.php?module=index");
+} elseif ((!EXT_IS_ACTIVE("surfbar")) && (!IS_ADMIN())) {
+       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "surfbar");
+       return;
 }
 
 // Add description as navigation point
-ADD_DESCR("member", basename(__FILE__));
+ADD_DESCR("member", __FILE__);
 
 //
 ?>