Install: unlimitted memory is ok

This commit is contained in:
Raphaël Doursenaud 2014-05-16 14:08:23 +02:00
parent 39ce76ba1b
commit ba8676dc61

View File

@ -155,7 +155,7 @@ if ($memmaxorig != '')
if (strtoupper($reg[2]) == 'M') $memmax=$reg[1]*1024*1024;
if (strtoupper($reg[2]) == 'K') $memmax=$reg[1]*1024;
}
if ($memmax >= $memrequired)
if ($memmax >= $memrequired || $memmax == -1)
{
print '<img src="../theme/eldy/img/tick.png" alt="Ok"> '.$langs->trans("PHPMemoryOK",$memmaxorig,$memrequiredorig)."<br>\n";
}