1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #3486 from shleeable/patch-21

Update InstallController.php - function version_compare expects string, float given.
This commit is contained in:
daniel 2022-05-20 23:35:20 -06:00 committed by GitHub
commit 8d49ca18fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ class InstallController extends Controller
$reqs['php'] = [ $reqs['php'] = [
'version' => PHP_VERSION, 'version' => PHP_VERSION,
'supported' => (bool) version_compare(PHP_VERSION, 7.4), 'supported' => (bool) version_compare(PHP_VERSION, '7.4'),
'min_version' => '7.4', 'min_version' => '7.4',
'memory_limit' => [ 'memory_limit' => [
'recommended' => '256M', 'recommended' => '256M',