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-surfbar_member_book.php
diff --git
a/inc/js/js-surfbar_member_book.php
b/inc/js/js-surfbar_member_book.php
index 1b74ecc5f1fde133e74b2f9a5af1166efb5be34e..33085a33c8288d90fe43b1de90ee68959b688e7a 100644
(file)
--- a/
inc/js/js-surfbar_member_book.php
+++ b/
inc/js/js-surfbar_member_book.php
@@
-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');