Development

Changeset 11762

You must first sign up to be able to contribute.

Changeset 11762

Show
Ignore:
Timestamp:
09/24/08 14:36:51 (5 years ago)
Author:
Benjamin.Meynell
Message:

bmeynell: changed follow_location to conform with new options naming scheme; changed CURL_ to CURLOPT_ [sfWebBrowserPlugin]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfWebBrowserPlugin/lib/sfCurlAdapter.class.php

    r11743 r11762  
    9292    curl_setopt($this->curl, CURLOPT_FRESH_CONNECT, true); 
    9393     
    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']); 
    9797    } 
    9898     
     
    127127    foreach ($curl_options as $key => $value) 
    128128    { 
    129       $const = constant('CURL_' . strtoupper($key)); 
     129      $const = constant('CURLOPT_' . strtoupper($key)); 
    130130      if(!is_null($const)) 
    131131      {