From 3dce0263313c2551c2a67edccfe30e4e8b350977 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Wed, 16 May 2012 13:40:36 +0000 Subject: [PATCH] //no die if memory_limit is not detected or lower than 16M but display a big warn --- install-dev/theme/view.css | 11 +++++++++++ install-dev/theme/views/welcome.phtml | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/install-dev/theme/view.css b/install-dev/theme/view.css index 584eea844..6d74c9725 100644 --- a/install-dev/theme/view.css +++ b/install-dev/theme/view.css @@ -260,6 +260,17 @@ div.field { 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 h2, .okBlock h3, diff --git a/install-dev/theme/views/welcome.phtml b/install-dev/theme/views/welcome.phtml index 1bb7569b7..227db1ad9 100644 --- a/install-dev/theme/views/welcome.phtml +++ b/install-dev/theme/views/welcome.phtml @@ -1,5 +1,9 @@ displayTemplate('header') ?> + +
l('PrestaShop requires at least 16M of memory to run, please check the memory_limit directive in php.ini or contact your host provider'); ?>
+ +

l('Welcome to the PrestaShop %s Installer.', _PS_INSTALL_VERSION_) ?>

l('The installation process should take only few minutes!') ?>

l('If you need help, do not hesitate to check our documentation or to contact our support team: %2$s', $this->getDocumentationLink(), $this->getPhone()) ?>