mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 19:54:12 +02:00
*grumble*
git-svn-id: file:///svn/phpbb/trunk@7756 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -113,11 +113,11 @@ if (!empty($mem_limit ))
|
||||
{
|
||||
$mem_limit = floor($mem_limit/1024);
|
||||
}
|
||||
elseif ($unit == 'g')
|
||||
else if ($unit == 'g')
|
||||
{
|
||||
$mem_limit *= 1024;
|
||||
}
|
||||
elseif (is_numeric($unit))
|
||||
else if (is_numeric($unit))
|
||||
{
|
||||
$mem_limit = floor($mem_limit/1048576);
|
||||
}
|
||||
|
Reference in New Issue
Block a user