]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-bank_create.php
A lot fixes to templates and missing functions added, more rewrites
[mailer.git] / inc / modules / member / what-bank_create.php
index c5cffb56afb77b39cf6d75db602e82cb14743a5e..3aee7cb5bf18eae5d1bab6af7688f587a29bcd3e 100644 (file)
@@ -35,6 +35,9 @@
 if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
+} elseif ((!EXT_IS_ACTIVE("bank")) && (!IS_ADMIN())) {
+       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "bank");
+       return;
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
 }