check_valid_repo()
check_valid_repo(string $host, integer $is_ssl = 1) : boolean
Check whether or not a repository is valid.
Parameters
string | $host | The hostname to check |
integer | $is_ssl | A 1/0, whether or not to check via SSL |
Returns
boolean —WHether or not ti's a valid repo.