mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-28 06:47:24 +08:00
fix: handle disable exec funtion in install script
This commit is contained in:
@@ -160,7 +160,9 @@ class XboardInstall extends Command
|
|||||||
if (!self::registerAdmin($email, $password)) {
|
if (!self::registerAdmin($email, $password)) {
|
||||||
abort(500, '管理员账号注册失败,请重试');
|
abort(500, '管理员账号注册失败,请重试');
|
||||||
}
|
}
|
||||||
self::restoreProtectedPlugins($this);
|
if (function_exists('exec')) {
|
||||||
|
self::restoreProtectedPlugins($this);
|
||||||
|
}
|
||||||
$this->info('正在安装默认插件...');
|
$this->info('正在安装默认插件...');
|
||||||
PluginManager::installDefaultPlugins();
|
PluginManager::installDefaultPlugins();
|
||||||
$this->info('默认插件安装完成');
|
$this->info('默认插件安装完成');
|
||||||
|
|||||||
Reference in New Issue
Block a user