|
|
@ -41,7 +41,7 @@ function build_url($parsed_url) { |
|
|
|
|
|
|
|
function should_follow_redirects($url) { |
|
|
|
$host = parse_url($url, PHP_URL_HOST); |
|
|
|
if(preg_match('/brid\.gy|appspot\.com|blogspot\.com|youtube\.com/', $host)) { |
|
|
|
if(preg_match('/blogspot\.com|youtube\.com/', $host)) { |
|
|
|
return false; |
|
|
|
} else { |
|
|
|
return true; |
|
|
@ -66,4 +66,4 @@ function allow_iframe_video($value = NULL) { |
|
|
|
$allow_iframe_video = $value; |
|
|
|
|
|
|
|
return $allow_iframe_video; |
|
|
|
} |
|
|
|
} |