diff options
author | Friendika <info@friendika.com> | 2011-08-16 20:05:02 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-16 20:05:02 -0700 |
commit | b28b468b2182493b958afecb388501fd66de230f (patch) | |
tree | ce7adeebc826313e86b1b8ad281e2f4b8c9020a7 /include/oembed.php | |
parent | 98cdf5d3153ce3b4b7bc1bd505851f4ed5c73406 (diff) | |
download | volse-hubzilla-b28b468b2182493b958afecb388501fd66de230f.tar.gz volse-hubzilla-b28b468b2182493b958afecb388501fd66de230f.tar.bz2 volse-hubzilla-b28b468b2182493b958afecb388501fd66de230f.zip |
cleanup
Diffstat (limited to 'include/oembed.php')
-rw-r--r-- | include/oembed.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php index b325a766e..06f71a3b3 100644 --- a/include/oembed.php +++ b/include/oembed.php @@ -17,7 +17,8 @@ function oembed_fetch_url($embedurl){ $txt = ""; // try oembed autodiscovery - $html_text = fetch_url($embedurl); + $redirects = 0; + $html_text = fetch_url($embedurl, false, $redirects, 15); if(! $html_text) return; $dom = @DOMDocument::loadHTML($html_text); |