Ejemplo n.º 1
0
 protected function process()
 {
     global $core;
     $request = $this->request;
     $core->session->install['database'] = array('name' => $request['name'], 'username' => $request['username'], 'password' => $request['password'], 'host' => $request['host'], 'prefix' => $request['prefix']);
     $this->response->message = I18n\t('panel.database.success');
     return parent::process();
 }
Ejemplo n.º 2
0
 protected function process()
 {
     global $core;
     $request = $this->request;
     $core->session->install['site'] = array('title' => $request['title'], 'language' => $request['language'], 'timezone' => $request['timezone']);
     $this->response->message = I18n\t('panel.site.success');
     return parent::process();
 }
Ejemplo n.º 3
0
 protected function process()
 {
     global $core;
     $request = $this->request;
     $core->session->install['user'] = array('username' => $request['username'], 'email' => $request['email'], 'password' => $request['password'], 'language' => $request['language']);
     $this->response->message = I18n\t('panel.user.success');
     return parent::process();
 }
Ejemplo n.º 4
0
 protected function process()
 {
     $requirements = WelcomeRequirements::get();
     $rendered_requirements = $requirements->render();
     $this->response['requirements_element'] = $rendered_requirements;
     if ($rendered_requirements) {
         return;
     }
     $this->response->message = t('panel.welcome.success');
     return parent::process();
 }