| | |
| | | $read_limits = array('limit_cgi', 'limit_ssi', 'limit_perl', 'limit_ruby', 'limit_python', 'force_suexec', 'limit_hterror', 'limit_wildcard', 'limit_ssl'); |
| | | |
| | | $parent_domain = $app->db->queryOneRecord("select * FROM web_domain WHERE domain_id = ".intval(@$this->dataRecord["parent_domain_id"])); |
| | | |
| | | |
| | | //* Client: If the logged in user is not admin and has no sub clients (no reseller) |
| | | if($_SESSION["s"]["user"]["typ"] != 'admin' && !$app->auth->has_clients($_SESSION['s']['user']['userid'])) { |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | if($this->id > 0) $app->tpl->setVar('fixed_folder', 'y'); |
| | | else $app->tpl->setVar('fixed_folder', 'n'); |
| | | if($this->id > 0) { |
| | | $app->tpl->setVar('fixed_folder', 'y'); |
| | | $app->tpl->setVar('server_id_value', $parent_domain['server_id']); |
| | | } else { |
| | | $app->tpl->setVar('fixed_folder', 'n'); |
| | | $app->tpl->setVar('server_id_value', $parent_domain['server_id']); |
| | | } |
| | | |
| | | $app->tpl->setVar("ssl_domain",$ssl_domain_select); |
| | | unset($ssl_domain_select); |