bugfixes for pagination and installation
This commit is contained in:
@ -213,7 +213,7 @@ class Install extends Controller {
|
||||
$baseConfig['database']['dbPassword']['value'] = Input::postNull( 'dbPassword' );
|
||||
$baseConfig['database']['dbPrefix']['value'] = Input::postNull( 'dbPrefix' );
|
||||
$baseConfig['database']['dbUsername']['value'] = Input::postNull( 'dbUsername' );
|
||||
if ( ! TheTempusProject::$activeConfig->generate( CONFIG_JSON, $configMatrix ) ) {
|
||||
if ( ! TheTempusProject::$activeConfig->generate( CONFIG_JSON, $baseConfig ) ) {
|
||||
return Issues::add( 'error', 'Config file already exists so the installer has been halted. If there was an error with installation, please delete app/config/config.json manually and try again. The installer should automatically bring you back to this step.' );
|
||||
}
|
||||
Session::flash( 'success', 'Config saved successfully.' );
|
||||
@ -341,7 +341,6 @@ class Install extends Controller {
|
||||
} else {
|
||||
$installResult = $this->installer->installModel( (object) $module, [ 'installResources' => true ], false );
|
||||
}
|
||||
|
||||
if ( !$installResult ) {
|
||||
$error = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user