mirror of
https://github.com/acepanel/panel.git
synced 2026-02-06 13:37:13 +08:00
特性(命令行):优化升级流程
This commit is contained in:
@@ -103,7 +103,7 @@ class Panel extends Command
|
||||
$this->info(shell_exec('rm -rf /www/panel'));
|
||||
$this->info(shell_exec('mkdir /www/panel'));
|
||||
$this->info('正在解压新版本...');
|
||||
$this->info(shell_exec('unzip /tmp/panel.zip -d /www/panel'));
|
||||
$this->info(shell_exec('unzip -o /tmp/panel.zip -d /www/panel'));
|
||||
$this->info('正在恢复数据库...');
|
||||
$this->info(shell_exec('\cp /tmp/database.sqlite /www/panel/database/database.sqlite'));
|
||||
$this->info('正在恢复插件...');
|
||||
|
||||
Reference in New Issue
Block a user