summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-03-08 18:41:03 +0300
committerAndrew Dolgov <[email protected]>2018-03-08 18:41:03 +0300
commita72643257afa150e128513d8663690c049229983 (patch)
tree4febfbfafd811c4b43527e425d0d6f95fc6f2cc5 /index.php
parent3009ecc44f4a2cebe0d918f6a993ce0cab0fbe81 (diff)
do not enforce strict mode for plugins
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index 31d767038..fb24066fd 100644
--- a/index.php
+++ b/index.php
@@ -117,7 +117,10 @@
print get_minified_js(["tt-rss.js",
"functions.js", "feedlist.js", "viewfeed.js", "PluginHost.js"]);
-
+ ?>
+ </script>
+ <script type="text/javascript">
+ <?php
foreach (PluginHost::getInstance()->get_plugins() as $n => $p) {
if (method_exists($p, "get_js")) {
echo "try {";