From aa944588ff5ac076cb2ac7eabf58d718ce8090e8 Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 17 Jan 2009 18:46:28 +0000 Subject: [PATCH] MDL-17617 - fixed regressions - missing $ch --- lib/filelib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/filelib.php b/lib/filelib.php index 14072b5d3e..615ef88a97 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -342,7 +342,9 @@ function download_file_content($url, $headers=null, $postdata=null, $fullrespons } // check if proxy (if used) should be bypassed for this url - $proxybypass = is_proxybypass( $url ); + $proxybypass = is_proxybypass($url); + + $ch = curl_init($url); // set extra headers if (is_array($headers) ) { -- 2.39.5