Explorar el Código

new settings section

andre hace 5 meses
padre
commit
4ebf83d4b3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/UI/Client/Setting/Pages/Settings.php

+ 1 - 0
app/UI/Client/Setting/Pages/Settings.php

@@ -171,6 +171,7 @@ class Settings extends DataTable implements ClientArea
             in_array($domain,$clientDomains) ? $selfdomain = 'active' : $selfdomain = 'inactive';
             $selfDns = 'inactive';
             $dnsRecords = $dns->getRecords($domain);
+            $dnsRecords['selfdns'] ? $selfDns = 'active' : $selfDns = 'inactive';
             in_array($params['serverhostname'],$dnsRecords['mx']) ? $mx = 'active' : $mx = 'inactive';
             $spf = 'inactive';
             if(!empty($dnsRecords['spf']) && !(count($dnsRecords['spf']) > 1)) {