PHP Error $new_profile
kvhees opened this issue · 0 comments
kvhees commented
I suppose there is a typo here ?
function setProxy($proxy, $new_profile_id = true){
if($proxy == false){
$this->options[CURLOPT_PROXY] = null;
} else {
$this->options[CURLOPT_PROXY] = $proxy;
}
// do we want to use a different cookie profile for this proxy?
if($new_profile_id){ // was $new_profile
$this->setProfileId($proxy);
}
}