mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2026-03-24 06:42:21 +00:00
0.0.7
This commit is contained in:
parent
3e5efcaa0a
commit
0b4b28574c
@ -269,11 +269,12 @@ class UpgradeService extends BaseAdminService
|
|||||||
|
|
||||||
// 覆盖文件
|
// 覆盖文件
|
||||||
if (is_dir($code_dir . $version_no)) {
|
if (is_dir($code_dir . $version_no)) {
|
||||||
dir_copy($code_dir . $version_no, $this->root_path);
|
if ($addon != AddonDict::FRAMEWORK_KEY) {
|
||||||
}
|
dir_copy($code_dir . $version_no, $this->root_path . 'niucloud' . DIRECTORY_SEPARATOR . 'addon' . DIRECTORY_SEPARATOR . $addon);
|
||||||
|
(new CoreAddonInstallService($addon))->installDir();
|
||||||
if ($addon != AddonDict::FRAMEWORK_KEY) {
|
} else {
|
||||||
(new CoreAddonInstallService($addon))->installDir();
|
dir_copy($code_dir . $version_no, $this->root_path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$upgrade_file_dir = 'v' . str_replace('.', '', $version_no);
|
$upgrade_file_dir = 'v' . str_replace('.', '', $version_no);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user