|
|
$pattern = '@^' . str_replace('\*', '.*', preg_quote($this->options['_host'], '@')) . '$@';
|
|
$pattern = '@^' . str_replace('\*', '.*', preg_quote($this->options['_host'], '@')) . '$@';
|
|
|
return preg_match($pattern, $host) !== 0;
|
|
return preg_match($pattern, $host) !== 0;
|