don't add the openbasedir protection on webmail. Closes: #1080
This commit is contained in:
parent
a478703bb4
commit
7c467be6d5
|
@ -140,14 +140,14 @@ add_host() {
|
||||||
else
|
else
|
||||||
FQDN="$host.$domain"
|
FQDN="$host.$domain"
|
||||||
fi
|
fi
|
||||||
if [ "$host_type" != "$TYPE_IP" ]; then
|
|
||||||
add_to_php_override "$FQDN"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$host_type" = "$TYPE_IP" ]; then
|
if [ "$host_type" = "$TYPE_IP" ]; then
|
||||||
ip="$value"
|
ip="$value"
|
||||||
else
|
else
|
||||||
ip="$PUBLIC_IP"
|
ip="$PUBLIC_IP"
|
||||||
|
if [ "$host_type" != "$TYPE_WEBMAIL" ]; then
|
||||||
|
add_to_php_override "$FQDN"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$host" = "@" -o -z "$host" ]; then
|
if [ "$host" = "@" -o -z "$host" ]; then
|
||||||
change_host_ip "$domain" "$ip" || true
|
change_host_ip "$domain" "$ip" || true
|
||||||
|
|
Loading…
Reference in New Issue