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:
@@ -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")
|
||||
|
||||
// 初始化时区
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user