[-] INSTALLER : fixed bug #PSCFV-2751 - Prestashop 1.5 needs more than 32MB for PHP memory_limit but it is not tested at setup

This commit is contained in:
vAugagneur
2012-06-11 07:28:44 +00:00
parent cb97478799
commit d3538f6dd8
+2 -2
View File
@@ -1,7 +1,7 @@
<?php $this->displayTemplate('header') ?>
<?php if (Tools::getMemoryLimit() < Tools::getOctets('16M')): ?>
<div class="warnBlock"><?php echo $this->l('PrestaShop requires at least 16M of memory to run, please check the memory_limit directive in php.ini or contact your host provider'); ?></div>
<?php if (Tools::getMemoryLimit() < Tools::getOctets('32M')): ?>
<div class="warnBlock"><?php echo $this->l('PrestaShop requires at least 32M of memory to run, please check the memory_limit directive in php.ini or contact your host provider'); ?></div>
<?php endif; ?>
<?php if ($this->can_upgrade): ?>