All JavaScript files can now secured against calls without proper installation of...
[mailer.git] / inc / js / js-surfbar_member_book.php
index 1b74ecc5f1fde133e74b2f9a5af1166efb5be34e..33085a33c8288d90fe43b1de90ee68959b688e7a 100644 (file)
@@ -39,7 +39,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('surfbar')) {
+       return;
+}
 
 // Simply load the JavaScript here
 loadTemplate('js_surfbar_member_book');