mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-11 02:43:45 +02:00
Small fix
This commit is contained in:
@@ -54,10 +54,10 @@ class UpgradeCommand extends Command
|
||||
|
||||
if (is_null($this->option('user'))) {
|
||||
$user_details = posix_getpwuid(fileowner('public'));
|
||||
$user = $details['name'] ?? 'www-data';
|
||||
$user = $user_details['name'] ?? 'www-data';
|
||||
|
||||
$group_details = posix_getgrgid(filegroup('public'));
|
||||
$group = $details['name'] ?? 'www-data';
|
||||
$group = $group_details['name'] ?? 'www-data';
|
||||
|
||||
if (!$this->confirm("Your webserver user (and group) has been detected as [{$user}:{$group}]: is this correct?", true)) {
|
||||
$user = $this->anticipate(
|
||||
|
||||
Reference in New Issue
Block a user