- Skip processing of vhost in apache plugin when domain field is empty.
- Improved error message in client and reseller language file.
| | |
| | | $wb["limit_openvz_vm_error_notint"] = 'The virtual server limit must be a number.'; |
| | | $wb["web_php_options_notempty"] = 'No PHP option(s) selected. Select at least one PHP option.'; |
| | | $wb["ssh_chroot_notempty"] = 'No SSH chroot option selected. Select at least one SSH option.'; |
| | | $wb["username_error_collision"] = 'The username may not start with the word -web- or -web- followed by a number'; |
| | | $wb["username_error_collision"] = 'The username may not start with the word -web- or -web- followed by a number.'; |
| | | ?> |
| | |
| | | $wb["limit_openvz_vm_error_notint"] = 'The virtual server limit must be a number.'; |
| | | $wb["web_php_options_notempty"] = 'No PHP option(s) selected. Select at least one PHP option.'; |
| | | $wb["ssh_chroot_notempty"] = 'No SSH chroot option selected. Select at least one SSH option.'; |
| | | $wb["username_error_collision"] = 'The username may not start with the word -web- or -web- followed by a number'; |
| | | $wb["username_error_collision"] = 'The username may not start with the word -web- or -web- followed by a number.'; |
| | | ?> |
| | |
| | | $app->log('Websites cannot be owned by the root user or group.',LOGLEVEL_WARN); |
| | | return 0; |
| | | } |
| | | if(trim($data['new']['domain']) == '') { |
| | | $app->log('domain is empty',LOGLEVEL_WARN); |
| | | return 0; |
| | | } |
| | | |
| | | // Create group and user, if not exist |
| | | $app->uses('system'); |