Changeset 11762
- Timestamp:
- 09/24/08 14:36:51 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfWebBrowserPlugin/lib/sfCurlAdapter.class.php
r11743 r11762 92 92 curl_setopt($this->curl, CURLOPT_FRESH_CONNECT, true); 93 93 94 if(isset($this->options['follow _location']))95 { 96 curl_setopt($this->curl, CURLOPT_FOLLOWLOCATION, (bool) $this->options['follow _location']);94 if(isset($this->options['followlocation'])) 95 { 96 curl_setopt($this->curl, CURLOPT_FOLLOWLOCATION, (bool) $this->options['followlocation']); 97 97 } 98 98 … … 127 127 foreach ($curl_options as $key => $value) 128 128 { 129 $const = constant('CURL _' . strtoupper($key));129 $const = constant('CURLOPT_' . strtoupper($key)); 130 130 if(!is_null($const)) 131 131 {