function postUpdate($subaction = null) { // if ($this->subaction === 'generalsetting') { if ($subaction === 'generalsetting') { // MR --- update for /webmails/webmail.conf web__apache::createWebDefaultConfig(); web__lighttpd::createWebDefaultConfig(); } }
static function listSystemIps($machinename) { global $gbl, $sgbl, $login, $ghtml; $result = self::getCurrentIps(); // web__apache::createWebmailConfig($result); web__apache::createWebDefaultConfig($result); $res = ipaddress::fixstatus($result); foreach ($res as $r) { if ($sgbl->isKloxo()) { ipaddress::copyCertificate($r['devname'], $machinename); } } return $res; }