| | |
| | | if(!$app->tform->checkResellerLimit('limit_web_domain',"type = 'vhost'")) { |
| | | $app->error('Reseller: '.$app->tform->wordbook["limit_web_domain_txt"]); |
| | | } |
| | | |
| | | // Get the limits of the client |
| | | $client_group_id = $_SESSION["s"]["user"]["default_group"]; |
| | | $client = $app->db->queryOneRecord("SELECT client.default_webserver FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id"); |
| | | $app->tpl->setVar("server_id_value", $client['default_webserver']); |
| | | } |
| | | |
| | | parent::onShowNew(); |