reorganised upgrade routine to make more sense

This commit is contained in:
Matthew Vale
2015-12-02 14:32:49 +00:00
parent 1327dc011a
commit 0c557d5c58
3 changed files with 23 additions and 6 deletions

View File

@@ -311,8 +311,6 @@ if(!$install_step) { $install_step = 'select_language'; }
//$system->debug = true;
$system->install();
$switch->install();
$system->app_defaults();
$detect_switch->restart_switch();
}catch(Exception $e){
echo "</pre>\n";
echo "<p><b>Failed to install</b><br/>" . $e->getMessage() . "</p>\n";