//no die if memory_limit is not detected or lower than 16M but display a big warn
This commit is contained in:
@@ -260,6 +260,17 @@ div.field {
|
|||||||
border:1px solid #ccc;
|
border:1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.warnBlock {
|
||||||
|
padding:14px 25px 14px 35px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
font-weight:normal;
|
||||||
|
font-size:13px;
|
||||||
|
line-height:18px;
|
||||||
|
background:#FEEFB3;
|
||||||
|
border:1px solid #9E6014;
|
||||||
|
color:#9E6014
|
||||||
|
}
|
||||||
|
|
||||||
.okBlock h1,
|
.okBlock h1,
|
||||||
.okBlock h2,
|
.okBlock h2,
|
||||||
.okBlock h3,
|
.okBlock h3,
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
<?php $this->displayTemplate('header') ?>
|
<?php $this->displayTemplate('header') ?>
|
||||||
|
|
||||||
|
<?php if (true): ?>
|
||||||
|
<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; ?>
|
||||||
|
|
||||||
<h2><?php echo $this->l('Welcome to the PrestaShop %s Installer.', _PS_INSTALL_VERSION_) ?></h2>
|
<h2><?php echo $this->l('Welcome to the PrestaShop %s Installer.', _PS_INSTALL_VERSION_) ?></h2>
|
||||||
<p><?php echo $this->l('The installation process should take only few minutes!') ?></p>
|
<p><?php echo $this->l('The installation process should take only few minutes!') ?></p>
|
||||||
<p><?php echo $this->l('If you need help, do not hesitate to check <a href="%1$s" target="_blank">our documentation</a> or to contact our support team: %2$s', $this->getDocumentationLink(), $this->getPhone()) ?></p>
|
<p><?php echo $this->l('If you need help, do not hesitate to check <a href="%1$s" target="_blank">our documentation</a> or to contact our support team: %2$s', $this->getDocumentationLink(), $this->getPhone()) ?></p>
|
||||||
|
|||||||
Reference in New Issue
Block a user