Skip to content

Commit

Permalink
add REBUILD_VHOST task if only openbasedir-path value changes; fixes #…
Browse files Browse the repository at this point in the history
…1200

Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Nov 15, 2023
1 parent e606bdc commit b0256ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Froxlor/Api/Commands/Domains.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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']
Expand Down

0 comments on commit b0256ff

Please sign in to comment.