| | |
| | | |
| | | // we will check only users, not admins |
| | | if($_SESSION["s"]["user"]["typ"] == 'user') { |
| | | if(!$app->tform->checkClientLimit('limit_web_subdomain',"type = 'subdomain'")) { |
| | | if(!$app->tform->checkClientLimit('limit_web_subdomain',"(type = 'subdomain' OR type = 'vhostsubdomain')")) { |
| | | $app->error($app->tform->wordbook["limit_web_subdomain_txt"]); |
| | | } |
| | | if(!$app->tform->checkResellerLimit('limit_web_subdomain',"type = 'subdomain'")) { |
| | | if(!$app->tform->checkResellerLimit('limit_web_subdomain',"(type = 'subdomain' OR type = 'vhostsubdomain')")) { |
| | | $app->error('Reseller: '.$app->tform->wordbook["limit_web_subdomain_txt"]); |
| | | } |
| | | } |
| | |
| | | |
| | | $this->parent_domain_record = $parent_domain; |
| | | |
| | | //* make sure that the email domain is lowercase |
| | | if(isset($this->dataRecord["domain"])) $this->dataRecord["domain"] = strtolower($this->dataRecord["domain"]); |
| | | |
| | | parent::onSubmit(); |
| | | } |
| | | |