Skip to content

Commit

Permalink
Fixed issue #11376: Minimum memory limit not correctly shown during i…
Browse files Browse the repository at this point in the history
…nstallation
  • Loading branch information
c-schmitz committed Jun 14, 2016
1 parent 397abaf commit 7dc3e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/installer/precheck_view.php
Expand Up @@ -60,7 +60,7 @@ function dirReport($dir, $write)
</tr>
<tr>
<td><?php eT("Minimum memory available"); ?></td>
<td>64MB</td>
<td>128</td>
<td><?php
if (isset($bMemoryError) && $bMemoryError) { ?><span style='font-weight:bold; color: red'><?php eT("Too low"); ?>: <?php echo convertPHPSizeToBytes(ini_get('memory_limit'))/1024/1024; ?>MB</span>
<?php } elseif (ini_get('memory_limit')=='-1') eT("Unlimited"); else { echo convertPHPSizeToBytes(ini_get('memory_limit'))/1024/1024; echo ' MB';} ?></td>
Expand Down

0 comments on commit 7dc3e38

Please sign in to comment.