2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

feat: 发布v2.3.8

This commit is contained in:
耗子
2024-10-17 16:25:14 +08:00
parent bc28719b10
commit d97697efde
3 changed files with 2 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ func initConf() {
func initGlobal() {
app.Root = app.Conf.MustString("app.root")
app.Version = "2.3.7"
app.Version = "2.3.8"
app.Locale = app.Conf.MustString("app.locale")
// 初始化时区

View File

@@ -150,7 +150,7 @@ func (r *Firewall) Port(rule FireInfo, operation Operation) error {
return fmt.Errorf("invalid port range: %d-%d", rule.PortStart, rule.PortEnd)
}
// 不支持的切换使用rich rules
if rule.Direction != "in" || (rule.Family != "" && rule.Family != "ipv4") || rule.Address != "" || rule.Strategy != "accept" {
if (rule.Family != "" && rule.Family != "ipv4") || rule.Direction != "in" || rule.Address != "" || rule.Strategy != "accept" {
return r.RichRules(rule, operation)
}

View File

@@ -51,15 +51,6 @@ const columns: any = [
resizable: true,
ellipsis: { tooltip: true }
},
{
title: 'PHP',
key: 'php',
width: 60,
ellipsis: { tooltip: true },
render(row: any) {
return row.php === 0 ? '不使用' : row.php
}
},
{
title: 'SSL',
key: 'ssl',