We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ca835e commit 2f6351eCopy full SHA for 2f6351e
app/Console/Commands/UpgradeCommand.php
@@ -54,10 +54,10 @@ public function handle()
54
55
if (is_null($this->option('user'))) {
56
$user_details = posix_getpwuid(fileowner('public'));
57
- $user = $details['name'] ?? 'www-data';
+ $user = $user_details['name'] ?? 'www-data';
58
59
$group_details = posix_getgrgid(filegroup('public'));
60
- $group = $details['name'] ?? 'www-data';
+ $group = $group_details['name'] ?? 'www-data';
61
62
if (!$this->confirm("Your webserver user (and group) has been detected as [{$user}:{$group}]: is this correct?", true)) {
63
$user = $this->anticipate(
0 commit comments