]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-wernis_portal.php
More extension-depending menus secured
[mailer.git] / inc / modules / guest / what-wernis_portal.php
index dae458d7fbf0ea89d8f04d4b34dcbede7793abcd..0cb400b6cb811a77283f7b769ca4f21cdc300ead 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("wernis")) {
+       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "wernis");
+       return;
 }
 
 // Special file