From 1fbf8c1ab4ef920259ec290952c8cc7ca869af50 Mon Sep 17 00:00:00 2001 From: bMancone Date: Tue, 31 Jan 2012 13:21:39 +0000 Subject: [PATCH] // Installer: lite mode git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12839 b9a71923-0436-4b27-9f14-aed3839534dd --- install-dev/controllers/http/process.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/install-dev/controllers/http/process.php b/install-dev/controllers/http/process.php index cc63aeb1a..9528c4162 100644 --- a/install-dev/controllers/http/process.php +++ b/install-dev/controllers/http/process.php @@ -234,14 +234,14 @@ class InstallControllerHttpProcess extends InstallControllerHttp */ public function display() { - $this->process_steps = array( - array('key' => 'installDatabase', 'lang' => $this->l('Create database tables')), - array('key' => 'populateDatabase', 'lang' => $this->l('Populate database tables')), - array('key' => 'configureShop', 'lang' => $this->l('Configure shop informations')), - array('key' => 'installModules', 'lang' => $this->l('Install modules')), - array('key' => 'installFixtures', 'lang' => $this->l('Install demonstration data')), - array('key' => 'installTheme', 'lang' => $this->l('Install theme')), - ); + $this->process_steps = array(); + $this->process_steps[] = array('key' => 'installDatabase', 'lang' => $this->l('Create database tables')); + $this->process_steps[] = array('key' => 'populateDatabase', 'lang' => $this->l('Populate database tables')); + $this->process_steps[] = array('key' => 'configureShop', 'lang' => $this->l('Configure shop informations')); + $this->process_steps[] = array('key' => 'installModules', 'lang' => $this->l('Install modules')); + if ($this->session->install_type == 'full') + $this->process_steps[] = array('key' => 'installFixtures', 'lang' => $this->l('Install demonstration data')); + $this->process_steps[] = array('key' => 'installTheme', 'lang' => $this->l('CInstall theme')); $this->displayTemplate('process'); } }