From b0256ffb7d4a41cb43feafd96d8d2f1baee84781 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Wed, 15 Nov 2023 08:08:48 +0100 Subject: [PATCH] add REBUILD_VHOST task if only openbasedir-path value changes; fixes #1200 Signed-off-by: Michael Kaufmann --- lib/Froxlor/Api/Commands/Domains.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Froxlor/Api/Commands/Domains.php b/lib/Froxlor/Api/Commands/Domains.php index 13f81475a1..4ca281e588 100644 --- a/lib/Froxlor/Api/Commands/Domains.php +++ b/lib/Froxlor/Api/Commands/Domains.php @@ -349,6 +349,7 @@ public function add() if (substr($p_domain, 0, 4) == 'xn--') { Response::standardError('domain_nopunycode', '', true); + Response::standardError('domain_nopunycode', '', true); } elseif (Validate::validate_ip2($p_domain, true, '', true, true)) { Response::standardError('domain_noipaddress', '', true); } @@ -1652,6 +1653,7 @@ public function update() || $iswildcarddomain != $result['iswildcarddomain'] || $phpenabled != $result['phpenabled'] || $openbasedir != $result['openbasedir'] + || $openbasedir_path != $result['openbasedir_path'] || $phpsettingid != $result['phpsettingid'] || $mod_fcgid_starter != $result['mod_fcgid_starter'] || $mod_fcgid_maxrequests != $result['mod_fcgid_maxrequests']