Merge branch 'MDL-38168-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE

This commit is contained in:
Sam Hemelryk 2013-03-04 13:35:00 +13:00
commit 4ea25c227c

View file

@ -3057,6 +3057,12 @@ class curl {
}
curl_setopt($curl, CURLOPT_HTTPHEADER, $this->header);
// Bypass proxy (for this request only) if required.
if (!empty($this->options['CURLOPT_URL']) &&
is_proxybypass($this->options['CURLOPT_URL'])) {
unset($this->options['CURLOPT_PROXY']);
}
if ($this->debug){
echo '<h1>Options</h1>';
var_dump($this->options);