Assorted fixes

This commit is contained in:
Dane Everitt
2017-04-14 20:10:09 -04:00
parent 7cead2635a
commit 97cc30e502
3 changed files with 6 additions and 6 deletions

View File

@@ -85,6 +85,12 @@ class UpdateEnvironment extends Command
$variables['SERVICE_AUTHOR'] = (string) Uuid::generate(4);
}
if(isset($variables['APP_THEME'])) {
if ($variables['APP_THEME'] === 'default') {
$variables['APP_THEME'] = 'pterodactyl';
}
}
if (is_null($this->option('dbhost'))) {
$variables['DB_HOST'] = $this->anticipate('Database Host', ['localhost', '127.0.0.1', config('database.connections.mysql.host')], config('database.connections.mysql.host'));
} else {