add actually a www-alias if set, fixes #1326

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-12-16 12:26:10 +01:00
parent 28fbd2487e
commit 8ad3c79589

View File

@@ -309,7 +309,7 @@ class bind
// Check whether to add a www.-prefix
if ($domain['wwwserveralias'] == '1') {
$records[] = str_replace('.' . $domain['domain'], '', $subdomain['domain']);
$records[] = 'www.'.str_replace('.' . $domain['domain'], '', $subdomain['domain']);
}
}