show email-only domains in customers list for potential dns entries information (if necessary)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2024-07-19 22:16:41 +02:00
parent 9d47d670a1
commit bda24d7d63
8 changed files with 34 additions and 16 deletions

View File

@@ -61,6 +61,10 @@ if (function_exists('exec')) {
}
$domain = json_decode($json_result, true)['data'];
if ($domain['email_only']) {
Response::dynamicError("There are no webserver logfiles for email only domains.");
}
$speciallogfile = '';
if ($domain['speciallogfile'] == '1') {
if ($domain['parentdomainid'] == '0') {