|
@@ -668,7 +668,7 @@ class Writereport extends Base
|
|
|
//设置获取的信息以文件流的形式返回,而不是直接输出。
|
|
|
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
|
|
// 重定向
|
|
|
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
|
|
|
+ curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
|
|
|
//执行命令
|
|
|
$data = curl_exec($curl);
|
|
|
//关闭URL请求
|