Allow Hostnames as Target for Backup Server & New Test Functions

This commit is contained in:
earnolmartin 2023-02-06 13:23:45 -07:00
parent 0901b9fa6d
commit a116bf5e19

View file

@ -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;