]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-themes.php
More extension-depending menus secured
[mailer.git] / inc / modules / member / what-themes.php
index ec009de3948b5ae795fcf0f3fe311ba55466fd82..ecce7b10fc9b496d47a9541ea7a4a2586d4fb148 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;
 }
 
 // Add description as navigation point