]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-bank_deposit.php
Rewrite from stelzi implemented, variable and function name renamed to match with...
[mailer.git] / inc / modules / member / what-bank_deposit.php
index 589e8babce4fe5c227b7ed9358b2951777fe3cbc..5f3f53f5a06411c7b6f4a9a6329610b3f1230739 100644 (file)
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif (!IS_MEMBER()) {
-       LOAD_URL('modules.php?module=index');
+       redirectToUrl('modules.php?module=index');
 } elseif ((!EXT_IS_ACTIVE('bank')) && (!IS_ADMIN())) {
-       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'bank');
+       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'bank'));
        return;
 }