update
This commit is contained in:
@@ -158,7 +158,7 @@ class MfCurl {
|
||||
$this->lastRequest = $url;
|
||||
$this->lastRequestMethod = $method;
|
||||
|
||||
if (ereg("^(https)", $url)) {
|
||||
if (preg_match('/^(https)/', $url)) {
|
||||
$this->SetOption(CURLOPT_SSL_VERIFYPEER, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user