You are here

public function hostingService_http_ssl::validate in Hostmaster (Aegir) 6

Overrides hostingService::validate

File

modules/hosting/web_server/ssl/hosting_ssl.service.inc, line 49

Class

hostingService_http_ssl

Code

public function validate(&$node, &$form) {
  parent::validate($node, $form);
  if ((int) $this->ssl_port <= 0) {
    form_set_error('ssl_port', t("The port you specify must be a number."));
  }
}