Adjust default theme in .env and note that http:// is required on URLs

This commit is contained in:
Dane Everitt 2017-01-22 13:51:56 -05:00
parent 0ec659f44f
commit edd26893a5
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 3 additions and 4 deletions

View file

@ -1,12 +1,11 @@
APP_ENV=production APP_ENV=production
APP_DEBUG=false APP_DEBUG=false
APP_KEY=SomeRandomString3232RandomString APP_KEY=SomeRandomString3232RandomString
APP_THEME=default APP_THEME=pterodactyl
APP_TIMEZONE=UTC APP_TIMEZONE=UTC
APP_CLEAR_TASKLOG=720 APP_CLEAR_TASKLOG=720
APP_DELETE_MINUTES=10 APP_DELETE_MINUTES=10
CONSOLE_PUSH_FREQ=250 APP_URL=http://yoursite.com/
CONSOLE_PUSH_COUNT=10
DB_HOST=localhost DB_HOST=localhost
DB_PORT=3306 DB_PORT=3306

View file

@ -122,7 +122,7 @@ class UpdateEnvironment extends Command
} }
if (is_null($this->option('url'))) { if (is_null($this->option('url'))) {
$variables['APP_URL'] = $this->ask('Panel URL', env('APP_URL')); $variables['APP_URL'] = $this->ask('Panel URL (include http(s)://)', env('APP_URL'));
} else { } else {
$variables['APP_URL'] = $this->option('url'); $variables['APP_URL'] = $this->option('url');
} }