| | |
| | | $items[] = array( 'title' => "Subdomain", |
| | | 'target' => 'content', |
| | | 'link' => 'sites/web_childdomain_list.php?type=subdomain', |
| | | 'html_id' => 'subdomain_list'); |
| | | 'html_id' => 'childdomain_list'); |
| | | |
| | | // read web config |
| | | $app->uses('getconf'); |
| | |
| | | $items[] = array( 'title' => "Subdomain (Vhost)", |
| | | 'target' => 'content', |
| | | 'link' => 'sites/web_vhost_subdomain_list.php', |
| | | 'html_id' => 'subdomain_list'); |
| | | 'html_id' => 'childdomain_list'); |
| | | } |
| | | } |
| | | |
| | |
| | | $items[] = array( 'title' => "Aliasdomain", |
| | | 'target' => 'content', |
| | | 'link' => 'sites/web_childdomain_list.php?type=aliasdomain', |
| | | 'html_id' => 'aliasdomain_list'); |
| | | 'html_id' => 'childdomain_list'); |
| | | |
| | | // read web config |
| | | $app->uses('getconf'); |
| | | $sys_config = $app->getconf->get_global_config('sites'); |
| | | if($sys_config['vhost_aliasdomains'] == 'y') { |
| | | $items[] = array( 'title' => "Aliasdomain (Vhost)", |
| | | 'target' => 'content', |
| | | 'link' => 'sites/web_vhost_aliasdomain_list.php', |
| | | 'html_id' => 'childdomain_list'); |
| | | } |
| | | } |
| | | |
| | | if(count($items)) |