use strict type comparison

This commit is contained in:
Andreas Gohr 2019-05-19 10:33:19 +02:00
parent f5c0c80ba3
commit eb2e46cad9
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ function check(){
$mem = (int) php_to_byte(ini_get('memory_limit'));
if($mem){
if($mem == -1) {
if($mem === -1) {
msg('PHP memory is unlimited', 1);
} else if($mem < 16777216){
msg('PHP is limited to less than 16MB RAM ('.filesize_h($mem).'). Increase memory_limit in php.ini',-1);