系统更新+插件更新优化
parent
0060b92028
commit
bb0d85f15e
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue