jbroadway / elefant

Elefant, the refreshingly simple PHP CMS and web framework.
http://www.elefantcms.com
MIT License
209 stars 39 forks source link

cURL calls: Proxy configuration added. #244

Closed olegiv closed 9 years ago

olegiv commented 9 years ago

cURL calls fail In case of server behind a network proxy with no proxy properties been provided to curl. Added global setting: [Proxy] url, port, skip_urls, skip_ips. Added function curl_setproxy ($ch, $url) in /lib/Functions.php which sets proxy properties. Local addresses and URLs accessed directly with no proxy parameters provided to curl.

jbroadway commented 9 years ago

Thanks!