]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-bank_deposit.php
More constant rewrites
[mailer.git] / inc / modules / member / what-bank_deposit.php
index c5cffb56afb77b39cf6d75db602e82cb14743a5e..481440f3eb757a12c20d756c765ea4dfead7f214 100644 (file)
@@ -4,7 +4,7 @@
  * ================                             Last change: 01/07/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
- * File              : what-                                            *
+ * File              : what-bank_deposit.php                            *
  * -------------------------------------------------------------------- *
  * Short description :                                                  *
  * -------------------------------------------------------------------- *
@@ -37,6 +37,9 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
+} elseif ((!EXT_IS_ACTIVE("bank")) && (!IS_ADMIN())) {
+       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "bank");
+       return;
 }
 
 // Add description as navigation point