From ba8676dc61e1647e43fdeb0c41d5f70945da79f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= <rdoursenaud@gpcsolutions.fr>
Date: Fri, 16 May 2014 14:08:23 +0200
Subject: [PATCH] Install: unlimitted memory is ok

---
 htdocs/install/check.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index 7e2f57cfb02..caa8473b792 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -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";
 	}
-- 
GitLab