系统更新+插件更新优化
parent
0060b92028
commit
bb0d85f15e
|
|
@ -1460,6 +1460,13 @@ php;
|
||||||
SqlconsoleService::Implement(['sql'=>file_get_contents($sql_file)]);
|
SqlconsoleService::Implement(['sql'=>file_get_contents($sql_file)]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 钩子部署
|
||||||
|
$ret = self::PluginsHookDeployment();
|
||||||
|
if($ret['code'] != 0)
|
||||||
|
{
|
||||||
|
return $ret;
|
||||||
|
}
|
||||||
|
|
||||||
// 插件事件回调
|
// 插件事件回调
|
||||||
PluginsService::PluginsEventCall($plugins, 'Upgrade', $params);
|
PluginsService::PluginsEventCall($plugins, 'Upgrade', $params);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -146,6 +146,7 @@ class SystemUpgradeService
|
||||||
// 需要处理的文件
|
// 需要处理的文件
|
||||||
$handle_file_arr = [
|
$handle_file_arr = [
|
||||||
'update.sql',
|
'update.sql',
|
||||||
|
'power.sql',
|
||||||
];
|
];
|
||||||
|
|
||||||
while(($temp_resource = zip_read($resource)) !== false)
|
while(($temp_resource = zip_read($resource)) !== false)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue