mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-06 16:21:54 +08:00
系统更新+插件更新优化
This commit is contained in:
@ -1460,6 +1460,13 @@ php;
|
||||
SqlconsoleService::Implement(['sql'=>file_get_contents($sql_file)]);
|
||||
}
|
||||
|
||||
// 钩子部署
|
||||
$ret = self::PluginsHookDeployment();
|
||||
if($ret['code'] != 0)
|
||||
{
|
||||
return $ret;
|
||||
}
|
||||
|
||||
// 插件事件回调
|
||||
PluginsService::PluginsEventCall($plugins, 'Upgrade', $params);
|
||||
|
||||
|
||||
@ -146,6 +146,7 @@ class SystemUpgradeService
|
||||
// 需要处理的文件
|
||||
$handle_file_arr = [
|
||||
'update.sql',
|
||||
'power.sql',
|
||||
];
|
||||
|
||||
while(($temp_resource = zip_read($resource)) !== false)
|
||||
|
||||
Reference in New Issue
Block a user