@@ -201,7 +201,7 @@ public function listingCount()
201
201
* @param string $zonefile
202
202
* optional, custom dns zone filename (only of nameserver is activated), default empty (auto-generated)
203
203
* @param bool $dkim
204
- * optional, currently not in use, default 0 (false)
204
+ * optional, whether this domain should use dkim if antispam is activated , default 0 (false)
205
205
* @param string $specialsettings
206
206
* optional, custom webserver vhost-content which is added to the generated vhost, default empty
207
207
* @param string $ssl_specialsettings
@@ -474,7 +474,6 @@ public function add()
474
474
}
475
475
$ caneditdomain = '1 ' ;
476
476
$ zonefile = '' ;
477
- $ dkim = '0 ' ;
478
477
$ specialsettings = '' ;
479
478
$ ssl_specialsettings = '' ;
480
479
$ include_specialsettings = 0 ;
@@ -550,8 +549,11 @@ public function add()
550
549
}
551
550
}
552
551
if (Settings::Get ('system.use_ssl ' ) == "1 " && $ sslenabled == 1 && empty ($ ssl_ipandports )) {
553
- // enabled ssl for the domain but no ssl ip/port is selected
554
- Response::standardError ('nosslippportgiven ' , '' , true );
552
+ // if this is a customer standard-subdomain, we simply ignore this and disable ssl-related settings (see if-statement below)
553
+ if (!$ is_stdsubdomain ) {
554
+ // enabled ssl for the domain but no ssl ip/port is selected
555
+ Response::standardError ('nosslippportgiven ' , '' , true );
556
+ }
555
557
}
556
558
if (Settings::Get ('system.use_ssl ' ) == "0 " || empty ($ ssl_ipandports )) {
557
559
$ ssl_redirect = 0 ;
@@ -1088,7 +1090,7 @@ private function getIpsFromIdArray(array $ids)
1088
1090
* @param string $zonefile
1089
1091
* optional, custom dns zone filename (only of nameserver is activated), default empty (auto-generated)
1090
1092
* @param bool $dkim
1091
- * optional, currently not in use, default 0 (false)
1093
+ * optional, whether this domain should use dkim if antispam is activated , default 0 (false)
1092
1094
* @param string $specialsettings
1093
1095
* optional, custom webserver vhost-content which is added to the generated vhost, default empty
1094
1096
* @param string $ssl_specialsettings
@@ -1460,7 +1462,6 @@ public function update()
1460
1462
} else {
1461
1463
$ isbinddomain = $ result ['isbinddomain ' ];
1462
1464
$ zonefile = $ result ['zonefile ' ];
1463
- $ dkim = $ result ['dkim ' ];
1464
1465
$ specialsettings = $ result ['specialsettings ' ];
1465
1466
$ ssl_specialsettings = $ result ['ssl_specialsettings ' ];
1466
1467
$ include_specialsettings = $ result ['include_specialsettings ' ];
0 commit comments