Fixed: FS#3131 - Wrong Apache setting for Subdomain (vhost) without hostname
| | |
| | | $wb['backup_excludes_txt'] = 'Excluded Directories'; |
| | | $wb['backup_excludes_note_txt'] = '(Separate multiple directories with commas. Example: web/cache/*,web/backup)'; |
| | | $wb['backup_excludes_error_regex'] = 'The excluded directories contain invalid characters.'; |
| | | $wb['subdomain_error_empty'] = 'The subdommain field is empty or contains invalid characters.'; |
| | | ?> |
| | |
| | | |
| | | if($app->tform->getCurrentTab() == 'domain') { |
| | | |
| | | // Check that domain (the subdomain part) is not empty |
| | | if(!preg_match('/^[a-zA-Z0-9].+/',$this->dataRecord['domain'])) { |
| | | $app->tform->errorMessage .= $app->tform->lng("subdomain_error_empty")."<br />"; |
| | | } |
| | | |
| | | /* check if the domain module is used - and check if the selected domain can be used! */ |
| | | $app->uses('ini_parser,getconf'); |
| | | $settings = $app->getconf->get_global_config('domains'); |