Browse code

Erlaube auch die user_vhosts_domain für DynDNS

Bernd Wurst authored on18/05/2015 09:53:13
Showing1 changed files
... ...
@@ -123,7 +123,7 @@ function get_dyndns_records($id)
123 123
   $data = array();
124 124
   while ($entry = $result->fetch()) {
125 125
     $dom = new Domain((int) $entry['domain']);
126
-    if ($dom->fqdn != config('masterdomain')) {
126
+    if ($dom->fqdn != config('masterdomain') && $dom->fqdn != config('user_vhosts_domain')) {
127 127
       $dom->ensure_userdomain();
128 128
     }
129 129
     $entry['fqdn'] = $entry['hostname'].'.'.$dom->fqdn;