]> git.wh0rd.org - tt-rss.git/commitdiff
bump required php version to 5.6
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 13 Aug 2018 13:04:09 +0000 (16:04 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 13 Aug 2018 13:04:09 +0000 (16:04 +0300)
include/sanity_check.php

index 5166adee0116f2348e93fbe00141f6d43b05d8a2..8f75217560d2cd70decb47e57a0efe0ec990cc6e 100755 (executable)
@@ -46,8 +46,8 @@
                                array_push($errors, "Please don't run this script as root.");
                        }
 
-                       if (version_compare(PHP_VERSION, '5.4.0', '<')) {
-                               array_push($errors, "PHP version 5.4.0 or newer required.");
+                       if (version_compare(PHP_VERSION, '5.6.0', '<')) {
+                               array_push($errors, "PHP version 5.6.0 or newer required.");
                        }
 
                        if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) {