Skip to content

Commit

Permalink
5.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aliyilmaz committed Dec 31, 2023
1 parent 78542b7 commit 76fb1ba
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Mind.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
*
* @package Mind
* @version Release: 5.9.1
* @version Release: 5.9.2
* @license GPL3
* @author Ali YILMAZ <[email protected]>
* @category Php Framework, Design pattern builder for PHP.
Expand Down Expand Up @@ -5296,11 +5296,6 @@ public function get_contents($left, $right, $url, $options=array()){
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

$cookie_file = tempnam(sys_get_temp_dir(), 'cookie');
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file);
unlink($cookie_file);

if(!empty($options['post'])){
curl_setopt($ch, CURLOPT_POST, true);
if(is_array($options['post']) AND !isset($options['attachment'])){
Expand Down

0 comments on commit 76fb1ba

Please sign in to comment.