summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-13 18:56:55 +0400
committerAndrew Dolgov <[email protected]>2012-08-13 18:56:55 +0400
commit2ecd2df560b60868f10830ce623f32257c2ddfbf (patch)
treecc1c6284ba743f6c57bd0ded9d2d256859edec43 /index.php
parent2a060a94562a2e1678f15d69a7e71e376325e9c1 (diff)
sorta-kinda fix the feedlist
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/index.php b/index.php
index 53901ec6e..c17a10416 100644
--- a/index.php
+++ b/index.php
@@ -79,7 +79,11 @@
}
foreach (array("tt-rss", "functions", "feedlist", "viewfeed", "FeedTree") as $js) {
- echo JSMin::minify(file_get_contents("js/$js.js"));
+ if (!isset($_GET['debug'])) {
+ echo JSMin::minify(file_get_contents("js/$js.js"));
+ } else {
+ echo file_get_contents("js/$js.js");
+ }
}
?>
</script>