Installer minor changes

This commit is contained in:
dignajar 2015-08-04 21:12:11 -03:00
parent b8090379e2
commit fe1b518072
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,8 @@ function setSettings($args)
else { else {
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying to save the settings.'); Log::set(__METHOD__.LOG_SEP.'Error occurred when trying to save the settings.');
} }
return true;
} }
// ============================================================================ // ============================================================================
@ -50,6 +52,7 @@ function setSettings($args)
if( $_SERVER['REQUEST_METHOD'] == 'POST' ) if( $_SERVER['REQUEST_METHOD'] == 'POST' )
{ {
setSettings($_POST); setSettings($_POST);
Redirect::page('admin', $layout['controller']);
} }
// ============================================================================ // ============================================================================