This commit is contained in:
vAugagneur
2012-05-16 13:46:16 +00:00
parent fe851b913c
commit 0349e6db48
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -70,7 +70,4 @@ if (!@ini_get('date.timezone'))
// Try to improve memory limit if it's under 32M
if (Tools::getMemoryLimit() < Tools::getOctets('32M'))
ini_set('memory_limit', '32M');
if (Tools::getMemoryLimit() < Tools::getOctets('16M'))
die('PrestaShop requires at least 16M of memory to run, please check the memory_limit directive in php.ini or contact your host provider');
ini_set('memory_limit', '32M');
+1 -1
View File
@@ -1,6 +1,6 @@
<?php $this->displayTemplate('header') ?>
<?php if (true): ?>
<?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 endif; ?>