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:
commit
8d49ca18fd
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue