Changeset 679 for trunk/lib/Utilities.inc.php
- Timestamp:
- May 14, 2019 2:17:07 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Utilities.inc.php
r672 r679 1452 1452 $ch = curl_init($url); 1453 1453 curl_setopt($ch, CURLOPT_TIMEOUT, 5); 1454 curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); 1454 1455 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 1455 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);1456 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); 1456 1457 curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"); 1457 1458 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Don't pass through data to the browser.
Note: See TracChangeset
for help on using the changeset viewer.