From 721f041c652b75df6f34cadd91afc10cb0d15a81 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 4 Apr 2024 00:20:05 +0800 Subject: [PATCH 1/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f65eccf47..e4312c3b97 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ TVbNgrpeGBGZVm5gTLa21ADP7RpnPFhjya ### 微信赞助 -[![截图](https://cdn.jsdelivr.net/gh/midoks/mdserver-web@latest/route/static/img/weixin_zz.jpg)](https://cdn.jsdelivr.net/gh/midoks/mdserver-web@latest/route/static/img/alipay_zz.jpg) +[![截图](https://cdn.jsdelivr.net/gh/midoks/mdserver-web@latest/route/static/img/alipay_zz.jpg)](https://cdn.jsdelivr.net/gh/midoks/mdserver-web@latest/route/static/img/alipay_zz.jpg) ### 无图不真相 From 6668c2e14ba7faf2f42d23240d7c75e643c7f706 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 4 Apr 2024 11:42:19 +0800 Subject: [PATCH 2/5] update --- plugins/op_waf/index.py | 6 ++++++ plugins/op_waf/info.json | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/plugins/op_waf/index.py b/plugins/op_waf/index.py index 88e7d4b8a1..949c28e784 100755 --- a/plugins/op_waf/index.py +++ b/plugins/op_waf/index.py @@ -579,6 +579,12 @@ def reload(): mw.opWeb('start') return 'ok' +def reload_hook(): + s = status() + if s == 'start': + return reload() + return 'ok' + def getJsonPath(name): path = getServerDir() + "/waf/" + name + ".json" diff --git a/plugins/op_waf/info.json b/plugins/op_waf/info.json index e8c0e9febf..53b8509737 100755 --- a/plugins/op_waf/info.json +++ b/plugins/op_waf/info.json @@ -5,9 +5,9 @@ "site_cb": { "title":"网站统计", "name":"op_waf", - "add":{"func":"reload"}, - "update":{"func":"reload"}, - "delete":{"func":"reload"} + "add":{"func":"reload_hook"}, + "update":{"func":"reload_hook"}, + "delete":{"func":"reload_hook"} } } ], From c8c0e44143a3930b7880f2553e12897908d6cdd9 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 4 Apr 2024 12:26:29 +0800 Subject: [PATCH 3/5] Update op_waf.js --- plugins/op_waf/js/op_waf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/op_waf/js/op_waf.js b/plugins/op_waf/js/op_waf.js index 654e36b712..5440c5a696 100755 --- a/plugins/op_waf/js/op_waf.js +++ b/plugins/op_waf/js/op_waf.js @@ -1614,8 +1614,9 @@ function wafSite(){ \ \ \ - 日志 | 设置\ + 日志 \ '; + //| 设置 }); var con = '
\ From f817792aeb8f74ce5a4004d7fec11a3d942493c1 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 4 Apr 2024 12:29:34 +0800 Subject: [PATCH 4/5] Update config_api.py --- class/core/config_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/config_api.py b/class/core/config_api.py index d5e95adeb2..2a4d550033 100755 --- a/class/core/config_api.py +++ b/class/core/config_api.py @@ -28,7 +28,7 @@ class config_api: - __version = '0.16.3.1' + __version = '0.16.4' __api_addr = 'data/api.json' # 统一默认配置文件 From 6f4479558fd29080568c5737435c6a2f69999e7b Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 4 Apr 2024 12:31:17 +0800 Subject: [PATCH 5/5] Update README.md --- README.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e4312c3b97..b99e2d75b7 100644 --- a/README.md +++ b/README.md @@ -110,15 +110,10 @@ docker run -itd --name mw-server --privileged=true -p 7200:7200 -p 80:80 -p 443: ``` -### 版本更新 0.16.3 - -* 面板配置-可以配置时区。 -* PHP(GD)扩展安装优化。 -* PHP界面功能调整。 -* PHP-FPM设置多个应用池(提高高并发稳定性)。 -* MySQL(apt/yum)调整优化。 -* 网站类型优化。 -* 增加数据管理插件。 +### 版本更新 0.16.4 + +* 二次验证。 +* OP防火墙修复。 ### JSDelivr安装地址