Skip to content

Commit 27d855f

Browse files
committed
Stopped setting follow_location because it was causing an error in safe_mode.
1 parent c37ffd5 commit 27d855f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zencoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class ZencoderCURL {
172172
CURLOPT_HEADER => 0, // Don't return the header in result
173173
CURLOPT_HTTPHEADER => array("Content-Type: application/json", "Accept: application/json"),
174174
CURLOPT_CONNECTTIMEOUT => 0, // Time in seconds to timeout send request. 0 is no timeout.
175-
CURLOPT_FOLLOWLOCATION => 1, // Follow redirects.
175+
// CURLOPT_FOLLOWLOCATION => 0, // Follow redirects. (stopped because it was causing an error in safe mode)
176176
// Dealing with the certificate. Still a sketchy area.
177177
CURLOPT_SSL_VERIFYPEER => 0, // Turn off verification, curl -k or --insecure
178178
CURLOPT_SSL_VERIFYHOST => 0

0 commit comments

Comments
 (0)