Skip to content
This repository was archived by the owner on May 18, 2020. It is now read-only.

Commit 81b3341

Browse files
committed
Removed CURLOPT_FOLLOWLOCATION from curl to prevent safe_mode/open_basedir issue
1 parent 53297cf commit 81b3341

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

V2.0/Mailin.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ private function do_request($resource,$method,$input)
3838
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
3939
}
4040
curl_setopt($ch, CURLOPT_HTTPHEADER, array($auth_header,$content_header));
41-
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
4241
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
4342
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
4443
curl_setopt($ch, CURLOPT_TIMEOUT_MS, $timeout);

0 commit comments

Comments
 (0)