/**
  * PROCESS : configureShop
  * Set default shop configuration
  */
 public function processConfigureShop()
 {
     $this->initializeContext();
     $success = $this->model_install->configureShop(array('shop_name' => $this->session->shop_name, 'shop_activity' => $this->session->shop_activity, 'shop_country' => $this->session->shop_country, 'shop_timezone' => $this->session->shop_timezone, 'use_smtp' => $this->session->use_smtp, 'smtp_server' => $this->session->smtp_server, 'smtp_login' => $this->session->smtp_login, 'smtp_password' => $this->session->smtp_password, 'smtp_encryption' => $this->session->smtp_encryption, 'smtp_port' => $this->session->smtp_port, 'admin_firstname' => $this->session->admin_firstname, 'admin_lastname' => $this->session->admin_lastname, 'admin_password' => $this->session->admin_password, 'admin_email' => $this->session->admin_email, 'configuration_agrement' => $this->session->configuration_agrement));
     if (!$success || $this->model_install->getErrors()) {
         $this->ajaxJsonAnswer(false, $this->model_install->getErrors());
     }
     $this->session->process_validated = array_merge($this->session->process_validated, array('configureShop' => true));
     $this->ajaxJsonAnswer(true);
 }
 /**
  * PROCESS : configureShop
  * Set default shop configuration
  */
 public function processConfigureShop()
 {
     $this->initializeContext();
     return $this->model_install->configureShop(array('shop_name' => $this->datas->shop_name, 'shop_activity' => $this->datas->shop_activity, 'shop_country' => $this->datas->shop_country, 'shop_timezone' => $this->datas->timezone, 'use_smtp' => false, 'smtp_server' => null, 'smtp_login' => null, 'smtp_password' => null, 'smtp_encryption' => null, 'smtp_port' => null, 'admin_firstname' => $this->datas->admin_firstname, 'admin_lastname' => $this->datas->admin_lastname, 'admin_password' => $this->datas->admin_password, 'admin_email' => $this->datas->admin_email, 'configuration_agrement' => true));
 }