]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-
Rewritten to use filter and wrapper
[mailer.git] / inc / modules / member / what-
index e1e3056127e476e7d17167b85cab24e61eb3ab2a..cb2169a6b07fc540c2d74cf8e29da8866f46cf20 100644 (file)
@@ -45,6 +45,12 @@ if (!defined('__SECURITY')) {
 // Add description as navigation point
 addYouAreHereLink('member', __FILE__);
 
+// Continue only if the proper extension is active (admins can always continue)
+if ((!isExtensionActive('')) && (!isAdmin())) {
+       displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=%}');
+       return;
+} // END - if
+
 // Loads the name-matching template
 loadTemplate(substr(basename(__FILE__), 5, -4));