Minors improvements

This commit is contained in:
Frédéric Guillot
2014-02-08 17:11:17 -05:00
parent 1ae99f6a85
commit f93ce1fd7f
3 changed files with 10 additions and 3 deletions

View File

@@ -32,11 +32,12 @@ class Config extends Base
if ($this->config->save($values)) {
$this->config->reload();
$this->session->flash(t('Settings saved successfully.'));
$this->response->redirect('?controller=config');
}
else {
$this->session->flashError(t('Unable to save your settings.'));
}
$this->response->redirect('?controller=config');
}
$this->response->html($this->template->layout('config_index', array(