]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-themes.php
More extension-depending menus secured
[mailer.git] / inc / modules / member / action-themes.php
index fc90a45ed73887a76e30e8c2013fae3144796a99..493833f320e2a9b0c33736e46e73f3669e9373d7 100644 (file)
@@ -37,6 +37,9 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
+} elseif (!EXT_IS_ACTIVE("theme")) {
+       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "theme");
+       return;
 }
 
 // Already defined?