projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
All JavaScript files can now secured against calls without proper installation of...
[mailer.git]
/
inc
/
js
/
js-uberwach.php
diff --git
a/inc/js/js-uberwach.php
b/inc/js/js-uberwach.php
index bf07a96fccadafd261c9f9e7230a05a0b85b85ca..e85f11e28464f61e5c590686e3b36cdd77507cb7 100644
(file)
--- a/
inc/js/js-uberwach.php
+++ b/
inc/js/js-uberwach.php
@@
-39,7
+39,9
@@
// Some security stuff...
if (!defined('__SECURITY')) {
die();
-} // END - if
+} elseif (!isExtensionActive('uberwach')) {
+ return;
+}
// Simply load the JavaScript here
loadTemplate('js_uberwach');