Allow Hostnames as Target for Backup Server & New Test Functions
This commit is contained in:
parent
0901b9fa6d
commit
a116bf5e19
1 changed files with 1 additions and 1 deletions
|
@ -1508,7 +1508,7 @@ if(!function_exists("isValidHostname")){
|
|||
function isValidHostname($host){
|
||||
if(filter_var(gethostbyname($host), FILTER_VALIDATE_IP))
|
||||
{
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue