don't add the openbasedir protection on webmail. Closes: #1080

This commit is contained in:
Antoine Beaupré 2007-11-15 20:30:17 +00:00
parent a478703bb4
commit 7c467be6d5
1 changed files with 3 additions and 3 deletions

View File

@ -140,14 +140,14 @@ add_host() {
else
FQDN="$host.$domain"
fi
if [ "$host_type" != "$TYPE_IP" ]; then
add_to_php_override "$FQDN"
fi
if [ "$host_type" = "$TYPE_IP" ]; then
ip="$value"
else
ip="$PUBLIC_IP"
if [ "$host_type" != "$TYPE_WEBMAIL" ]; then
add_to_php_override "$FQDN"
fi
fi
if [ "$host" = "@" -o -z "$host" ]; then
change_host_ip "$domain" "$ip" || true