X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=blobdiff_plain;f=index.php;h=9be7d5ccc35f25197911e50b289cbafe7ce31f12;hp=657e0f5a84013b76ad9a053898a78b606f61e676;hb=HEAD;hpb=5e68e24679e9a2248a3c28c8a4078b4bdad09f9c
diff --git a/index.php b/index.php
index 657e0f5a..9be7d5cc 100644
--- a/index.php
+++ b/index.php
@@ -11,8 +11,8 @@
// we need a separate check here because functions.php might get parsed
// incorrectly before 5.3 because of :: syntax.
- if (version_compare(PHP_VERSION, '5.3.0', '<')) {
- print "Fatal Error: PHP version 5.3.0 or newer required.\n";
+ if (version_compare(PHP_VERSION, '5.6.0', '<')) {
+ print "Fatal Error: PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . ".\n";
exit;
}
@@ -62,14 +62,13 @@
-
@@ -101,23 +100,35 @@
+
+ } else
+
echo javascript_tag($jsfile);
} ?>
+