|
@@ 112-116 (lines=5) @@
|
| 109 |
|
$variables['DB_DATABASE'] = $this->option('dbname'); |
| 110 |
|
} |
| 111 |
|
|
| 112 |
|
if (is_null($this->option('dbuser'))) { |
| 113 |
|
$variables['DB_USERNAME'] = $this->anticipate('Database Username', [config('database.connections.mysql.username')], config('database.connections.mysql.username')); |
| 114 |
|
} else { |
| 115 |
|
$variables['DB_USERNAME'] = $this->option('dbuser'); |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
if (is_null($this->option('dbpass'))) { |
| 119 |
|
$this->line('The Database Password field is required; you cannot hit enter and use a default value.'); |
|
@@ 131-136 (lines=6) @@
|
| 128 |
|
$variables['APP_URL'] = $this->option('url'); |
| 129 |
|
} |
| 130 |
|
|
| 131 |
|
if (is_null($this->option('timezone'))) { |
| 132 |
|
$this->line('The timezone should match one of the supported timezones according to http://php.net/manual/en/timezones.php'); |
| 133 |
|
$variables['APP_TIMEZONE'] = $this->anticipate('Panel Timezone', \DateTimeZone::listIdentifiers(\DateTimeZone::ALL), config('app.timezone')); |
| 134 |
|
} else { |
| 135 |
|
$variables['APP_TIMEZONE'] = $this->option('timezone'); |
| 136 |
|
} |
| 137 |
|
|
| 138 |
|
if (is_null($this->option('driver'))) { |
| 139 |
|
$options = [ |