Changeset 17661 for extensions/gvideo/include
- Timestamp:
- Aug 29, 2012, 6:00:39 PM (12 years ago)
- Location:
- extensions/gvideo/include
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gvideo/include/functions.inc.php
r17488 r17661 239 239 curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept-language: en")); 240 240 curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)'); 241 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 242 curl_setopt($ch, CURLOPT_MAXREDIRS, 1); 241 if (!ini_get('safe_mode')) 242 { 243 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 244 curl_setopt($ch, CURLOPT_MAXREDIRS, 1); 245 } 243 246 if (strpos($src, 'https://') !== false) 244 247 {
Note: See TracChangeset
for help on using the changeset viewer.