diff --git a/core/components/phpthumbof/model/aws/lib/requestcore/requestcore.class.php b/core/components/phpthumbof/model/aws/lib/requestcore/requestcore.class.php index 1d0b09c..c8b0794 100644 --- a/core/components/phpthumbof/model/aws/lib/requestcore/requestcore.class.php +++ b/core/components/phpthumbof/model/aws/lib/requestcore/requestcore.class.php @@ -474,7 +474,7 @@ public function prep_request() curl_setopt($curl_handle, CURLOPT_FILETIME, true); curl_setopt($curl_handle, CURLOPT_FRESH_CONNECT, false); curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false); - curl_setopt($curl_handle, CURLOPT_SSL_VERIFYHOST, true); + curl_setopt($curl_handle, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($curl_handle, CURLOPT_CLOSEPOLICY, CURLCLOSEPOLICY_LEAST_RECENTLY_USED); $safeMode = @ini_get('safe_mode'); $openBasedir = @ini_get('open_basedir');