Commit bc09fea7 by 朱继来

curl添加来源页

parent 3eca3b82
Showing with 1 additions and 0 deletions
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
curl_setopt($ci, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ci, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ci, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ci, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ci, CURLOPT_HEADER, false); curl_setopt($ci, CURLOPT_HEADER, false);
curl_setopt($ci, CURLOPT_REFERER, $_SERVER['HTTP_HOST']);
$headers = (array)$extheaders; $headers = (array)$extheaders;
switch ($method) switch ($method)
{ {
......
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 sign in to comment