Vier: Design issues with preview fixed

This commit is contained in:
Michael Vogel
2012-12-20 04:19:02 +01:00
parent 330960f8f7
commit a8aa992102
2 changed files with 16 additions and 6 deletions

View File

@@ -15,6 +15,9 @@ function fetch_url($url,$binary = false, &$redirects = 0, $timeout = 0, $accept_
@curl_setopt($ch, CURLOPT_HEADER, true);
@curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
@curl_setopt($ch, CURLOPT_MAXREDIRS, 5);
if (!is_null($accept_content)){
curl_setopt($ch,CURLOPT_HTTPHEADER, array (
"Accept: " . $accept_content