mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-07 22:16:16 +08:00
feat: 限制 PHP 应用升级 (#981)
This commit is contained in:
parent
27cc3bcccd
commit
81c56a740c
1 changed files with 3 additions and 0 deletions
|
@ -570,6 +570,9 @@ func getAppFromRepo(downloadPath, version string) error {
|
||||||
func handleInstalled(appInstallList []model.AppInstall, updated bool) ([]response.AppInstalledDTO, error) {
|
func handleInstalled(appInstallList []model.AppInstall, updated bool) ([]response.AppInstalledDTO, error) {
|
||||||
var res []response.AppInstalledDTO
|
var res []response.AppInstalledDTO
|
||||||
for _, installed := range appInstallList {
|
for _, installed := range appInstallList {
|
||||||
|
if installed.App.Type == "php" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
installDTO := response.AppInstalledDTO{
|
installDTO := response.AppInstalledDTO{
|
||||||
AppInstall: installed,
|
AppInstall: installed,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue