summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 3d5b2cc43..49fcfdf98 100644
--- a/index.php
+++ b/index.php
@@ -85,19 +85,19 @@
<script type="text/javascript">
<?php
- require 'lib/jsmin.php';
+ require 'lib/jshrink/Minifier.php';
global $pluginhost;
foreach ($pluginhost->get_plugins() as $n => $p) {
if (method_exists($p, "get_js")) {
- echo JSMin::minify($p->get_js());
+ echo JShrink\Minifier::minify($p->get_js());
}
}
foreach (array("tt-rss", "functions", "feedlist", "viewfeed", "FeedTree") as $js) {
if (!isset($_GET['debug'])) {
- echo JSMin::minify(file_get_contents("js/$js.js"));
+ echo JShrink\Minifier::minify(file_get_contents("js/$js.js"));
} else {
echo file_get_contents("js/$js.js");
}