function views_isotope_check_url in Views Isotope (Deprecated) 7.2
Helper function to check if a url exists.
1 call to views_isotope_check_url()
- views_isotope_check_library in ./
views_isotope.module - Check for the library and return the appropriate scope.
File
- ./
views_isotope.module, line 296 - Load the isotope library and provide configuration and theme options.
Code
function views_isotope_check_url($url) {
$header_response = get_headers($url, 1);
if (strpos($header_response[0], "200") === FALSE) {
return FALSE;
}
return TRUE;
}