]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-bank_output.php
Fixes for MT_WORD vs. install vs. installed
[mailer.git] / inc / modules / member / what-bank_output.php
index ccae2649b9e0b09d82e0eddf96ab4a78ff867707..967b6b6a155ee5de80b45b382af549615377ef55 100644 (file)
@@ -37,10 +37,13 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
+} elseif ((!EXT_IS_ACTIVE("bank")) && (!IS_ADMIN())) {
+       addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "bank");
+       return;
 }
 
 // Add description as navigation point
-ADD_DESCR("member", basename(__FILE__));
+ADD_DESCR("member", __FILE__);
 
 // Loads the name-matching template
 LOAD_TEMPLATE(substr(basename(__FILE__), 5, -4));