mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 18:48:14 -05:00
update XboardInstall.php
This commit is contained in:
parent
686f8a93ca
commit
296a72331e
@ -145,7 +145,6 @@ class XboardInstall extends Command
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$envConfig['APP_KEY'] = 'base64:' . base64_encode(Encrypter::generateKey('AES-256-CBC'));
|
$envConfig['APP_KEY'] = 'base64:' . base64_encode(Encrypter::generateKey('AES-256-CBC'));
|
||||||
$envConfig['INSTALLED'] = true;
|
|
||||||
$isReidsValid = false;
|
$isReidsValid = false;
|
||||||
while (!$isReidsValid) {
|
while (!$isReidsValid) {
|
||||||
// 判断是否为Docker环境
|
// 判断是否为Docker环境
|
||||||
@ -212,6 +211,8 @@ class XboardInstall extends Command
|
|||||||
|
|
||||||
$defaultSecurePath = hash('crc32b', config('app.key'));
|
$defaultSecurePath = hash('crc32b', config('app.key'));
|
||||||
$this->info("访问 http(s)://你的站点/{$defaultSecurePath} 进入管理面板,你可以在用户中心修改你的密码。");
|
$this->info("访问 http(s)://你的站点/{$defaultSecurePath} 进入管理面板,你可以在用户中心修改你的密码。");
|
||||||
|
$envConfig['INSTALLED'] = true;
|
||||||
|
$this->saveToEnv($envConfig);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$this->error($e);
|
$this->error($e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user