summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-21 10:58:06 +0400
committerAndrew Dolgov <[email protected]>2011-12-21 10:58:06 +0400
commit55ad22fa5574f65fdd70cea5e3b91398ee18b62a (patch)
tree832a3703c4c608a0bd6d5ae69cccaa21b16be32b /index.php
parentd4e35925e0a14a4c746404d6d05cfe61109d7443 (diff)
add note plugin
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 2b5548374..dc217d900 100644
--- a/index.php
+++ b/index.php
@@ -42,7 +42,7 @@
<script type="text/javascript">
<?php foreach (explode(",", ARTICLE_BUTTON_PLUGINS) as $p) {
- $jsf = "js/${p}_button.js";
+ $jsf = "js/".trim($p)."_button.js";
if (file_exists($jsf)) {
include $jsf;
}