]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-sponsor_agb.php
Removed unneccessary eval() command in overview-inc.php, internal TODO closed
[mailer.git] / inc / modules / guest / what-sponsor_agb.php
index 43a25fc86180cb3131dff6c97c6cea5078457139..99e3cbf751275e2e49bc1e4f022436c2335eedb1 100644 (file)
@@ -34,6 +34,9 @@
 if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
        require($INC);
+} elseif ((!EXT_IS_ACTIVE("sponsor"))) {
+       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "sponsor");
+       return;
 }
 
 // Add description as navigation point