Commit f7b7e7ca by liumengfei

修复bug

parent b9df5978
......@@ -275,12 +275,7 @@ class InstagramFeedPull extends Command
{
$path = $this->directoryList->getPath('var');
$file = $path.DIRECTORY_SEPARATOR.mt_rand(10000,99999).time().md5($url).".jpeg";
file_put_contents($file,file_get_contents($url, false, stream_context_create([
"ssl" => [
"verify_peer"=>false,
"verify_peer_name"=>false,
]
])));
@file_put_contents($file,file_get_contents($url));
return $file;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment