Skip to content

Commit 69cd330

Browse files
committed
Fix setup command issues
1 parent df9d746 commit 69cd330

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ QUEUE_HIGH=high
3232
QUEUE_STANDARD=standard
3333
QUEUE_LOW=low
3434

35-
SERVICE_AUTHOR=undefined@unknown-author.com
35+
APP_SERVICE_AUTHOR=undefined@unknown-author.com

app/Console/Commands/Environment/AppSettingsCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public function __construct(ConfigRepository $config, Kernel $command)
7373
public function handle()
7474
{
7575
$this->output->comment(trans('command/messages.environment.app.author_help'));
76-
$this->variables['SERVICE_AUTHOR'] = $this->option('author') ?? $this->ask(
77-
trans('command/messages.environment.app.author'), $this->config->get('pterodactyl.service.author', 'undefined@unknown-author.com')
76+
$this->variables['APP_SERVICE_AUTHOR'] = $this->option('author') ?? $this->ask(
77+
trans('command/messages.environment.app.author'), $this->config->get('pterodactyl.service.author', 'unknown@unknown.com')
7878
);
7979

8080
$this->output->comment(trans('command/messages.environment.app.app_url_help'));
@@ -98,7 +98,7 @@ public function handle()
9898
trans('command/messages.environment.app.session_driver'), [
9999
'redis' => 'Redis (recommended)',
100100
'memcached' => 'Memcached',
101-
'mysql' => 'MySQL Database',
101+
'database' => 'MySQL Database',
102102
'file' => 'Filesystem',
103103
'cookie' => 'Cookie',
104104
], $this->config->get('session.driver', 'redis')

config/pterodactyl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| standard Pterodactyl shipped services.
1212
*/
1313
'service' => [
14-
'author' => env('SERVICE_AUTHOR', 'unknown@unknown.com'),
14+
'author' => env('APP_SERVICE_AUTHOR', 'unknown@unknown.com'),
1515
],
1616

1717
/*

resources/lang/en/command/messages.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
'try_again' => 'Go back and try again?',
7575
],
7676
'app' => [
77+
'author' => 'Egg Author Email',
78+
'author_help' => 'Provide the email address that eggs exported by this Panel should be from. This should be a valid email address.',
7779
'app_url_help' => 'The application URL MUST begin with https:// or http:// depending on if you are using SSL or not. If you do not include the scheme your emails and other content will link to the wrong location.',
7880
'app_url' => 'Application URL',
7981
'timezone_help' => 'The timezone should match one of PHP\'s supported timezones. If you are unsure, please reference http://php.net/manual/en/timezones.php.',

0 commit comments

Comments
 (0)