From 8620ed8632e534bda05251fcb63be4db3ddb84bd Mon Sep 17 00:00:00 2001 From: bMancone Date: Tue, 31 Jan 2012 13:21:39 +0000 Subject: [PATCH] // Installer: lite mode --- 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'); } }