This commit is contained in:
robin
2026-03-13 14:25:13 +08:00
parent a25a474d6a
commit afbaaa869c
95 changed files with 4591 additions and 2578 deletions

View File

@@ -245,5 +245,12 @@ func (this *IndexAction) RunPost(params struct{}) {
}
this.Data["countWeakAdmins"] = countWeakAdminsResp.Count
upgradeConfig, err := configloaders.LoadUpgradeConfig()
if err != nil {
this.ErrorPage(err)
return
}
this.Data["autoUpgrade"] = upgradeConfig.AutoUpgrade
this.Success()
}