Skip to content

Commit

Permalink
use strict type comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed May 19, 2019
1 parent f5c0c80 commit eb2e46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/infoutils.php
Expand Up @@ -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);
Expand Down

0 comments on commit eb2e46c

Please sign in to comment.