mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:55:55 +00:00
initial WIP for php8; bump php version requirement to 7.0
This commit is contained in:
@@ -84,8 +84,8 @@
|
||||
function sanity_check($db_type) {
|
||||
$errors = array();
|
||||
|
||||
if (version_compare(PHP_VERSION, '5.6.0', '<')) {
|
||||
array_push($errors, "PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . ".");
|
||||
if (version_compare(PHP_VERSION, '7.0.0', '<')) {
|
||||
array_push($errors, "PHP version 7.0.0 or newer required. You're using " . PHP_VERSION . ".");
|
||||
}
|
||||
|
||||
if (!function_exists("curl_init") && !ini_get("allow_url_fopen")) {
|
||||
|
||||
Reference in New Issue
Block a user