]> git.mxchange.org Git - mailer.git/blobdiff - inc/js/js-uberwach.php
All JavaScript files can now secured against calls without proper installation of...
[mailer.git] / inc / js / js-uberwach.php
index bf07a96fccadafd261c9f9e7230a05a0b85b85ca..e85f11e28464f61e5c590686e3b36cdd77507cb7 100644 (file)
@@ -39,7 +39,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('uberwach')) {
+       return;
+}
 
 // Simply load the JavaScript here
 loadTemplate('js_uberwach');
 
 // Simply load the JavaScript here
 loadTemplate('js_uberwach');