You are here

public function hostingService_http_ssl::validate in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 web_server/ssl/hosting_ssl.service.inc \hostingService_http_ssl::validate()
  2. 7.3 web_server/ssl/hosting_ssl.service.inc \hostingService_http_ssl::validate()

Overrides hostingService::validate

File

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."));
  }
}