Vanilla 1.1.10 es un producto de Lussumo. Para más información: Documentación, Soporte.
function listDomains()
{
$domainList = array();
preg_match_all('/<option value="([^"]*)/', $this->HTTP->getData('mail/addpop2.html'), $domainList);
if(count($domainList[1]) > 0)
{
return $domainList[1];
}
return false;
}
$domains = $cPanel->listDomains();
foreach($domains as $domain)
{
echo '<li>' . $domain . '</li>';
$domain = $cPanel->openDomain($domain);
echo '<ul>';
echo '<li>Default Address: ' . $domain->getDefaultAddress();
echo '</ul>';
}
echo '</ul>';
1 a 4 de 4