From 7136345ca49f931c79379c43d758f7d771e7d319 Mon Sep 17 00:00:00 2001 From: Alexey Berezhok Date: Sun, 12 Jul 2026 00:05:43 +0300 Subject: [PATCH] Fixes --- ispmanager-plugin-nginx_mod_rewrite_plugin.spec | 1 - usr/local/mgr5/addon/nginx_form_rewrite_plugin.py | 1 + .../nginx_mod_rewrite_plugin_webdomain_edit_enable | 4 ---- .../mgr5/etc/xml/ispmgr_mod_nginx_mod_rewrite_plugin.xml | 4 ++-- 4 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 usr/local/mgr5/etc/sql/webdomain.addon/nginx_mod_rewrite_plugin_webdomain_edit_enable diff --git a/ispmanager-plugin-nginx_mod_rewrite_plugin.spec b/ispmanager-plugin-nginx_mod_rewrite_plugin.spec index 90a6770..d286895 100644 --- a/ispmanager-plugin-nginx_mod_rewrite_plugin.spec +++ b/ispmanager-plugin-nginx_mod_rewrite_plugin.spec @@ -53,7 +53,6 @@ fi %attr(644, root, root) /usr/local/mgr5/skins/icons/mod_rewrite_menu.svg %attr(644, root, root) /usr/local/mgr5/skins/icons/mod_rewrite_tool.svg %attr(644, root, root) /usr/local/mgr5/skins/common/plugin-logo/ispmanager-plugin-nginx_mod_rewrite_plugin.png -%attr(600, root, root) /usr/local/mgr5/etc/sql/webdomain.addon/nginx_mod_rewrite_plugin_webdomain_edit_enable %changelog diff --git a/usr/local/mgr5/addon/nginx_form_rewrite_plugin.py b/usr/local/mgr5/addon/nginx_form_rewrite_plugin.py index a9469c3..6c7f0f0 100755 --- a/usr/local/mgr5/addon/nginx_form_rewrite_plugin.py +++ b/usr/local/mgr5/addon/nginx_form_rewrite_plugin.py @@ -285,6 +285,7 @@ if __name__ == "__main__": new_element = etree.Element("nginx_mod_rewrite_plugin_site_edit_enable") new_element.text = "off" root.append(new_element) + dump_all_to_log(root) elif func == "site.edit": _log("site.edit handler") etree.dump(root) diff --git a/usr/local/mgr5/etc/sql/webdomain.addon/nginx_mod_rewrite_plugin_webdomain_edit_enable b/usr/local/mgr5/etc/sql/webdomain.addon/nginx_mod_rewrite_plugin_webdomain_edit_enable deleted file mode 100644 index d7ec5b5..0000000 --- a/usr/local/mgr5/etc/sql/webdomain.addon/nginx_mod_rewrite_plugin_webdomain_edit_enable +++ /dev/null @@ -1,4 +0,0 @@ -type=string -access_read=user+ -access_write=user+ -default="" diff --git a/usr/local/mgr5/etc/xml/ispmgr_mod_nginx_mod_rewrite_plugin.xml b/usr/local/mgr5/etc/xml/ispmgr_mod_nginx_mod_rewrite_plugin.xml index 29a1708..b1131e9 100644 --- a/usr/local/mgr5/etc/xml/ispmgr_mod_nginx_mod_rewrite_plugin.xml +++ b/usr/local/mgr5/etc/xml/ispmgr_mod_nginx_mod_rewrite_plugin.xml @@ -23,7 +23,7 @@
- +
@@ -32,7 +32,7 @@
- +