git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
9afc4f3
Branches
Tags
master
ticket
webinterface.git
modules
domains
include
domains.php
Mailman-Domains nur auslesen wenn Mailman-Modul aktiviert ist
bernd
commited
9afc4f3
at 2010-01-26 16:48:59
domains.php
Blame
History
Raw
<?php require_once('inc/base.php'); require_once('inc/debug.php'); function mailman_subdomains($domain) { if ( ! in_array('mailman', config('modules'))) { return array(); } $domain = (int) $domain; $result = db_query("SELECT id, hostname FROM mail.mailman_domains WHERE domain={$domain}"); $ret = array(); while ($line = mysql_fetch_assoc($result)) { $ret[] = $line; } return $ret; }