Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8b835af

Browse files
committed
Version 1.5
1 parent6aa5f7c commit8b835af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Zencoder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
*/
99
define('ZENCODER_LIBRARY_NAME',"ZencoderPHP");
10-
define('ZENCODER_LIBRARY_VERSION',"1.4");
10+
define('ZENCODER_LIBRARY_VERSION',"1.5");
1111

1212
// Add JSON functions for PHP < 5.2.0
1313
if(!function_exists('json_encode')) {
@@ -177,6 +177,7 @@ class ZencoderCURL {
177177
CURLOPT_RETURNTRANSFER =>1,// Return content of the url
178178
CURLOPT_HEADER =>0,// Don't return the header in result
179179
CURLOPT_HTTPHEADER =>array("Content-Type: application/json","Accept: application/json"),
180+
CURLOPT_USERAGENT =>ZENCODER_LIBRARY_NAME +"" +ZENCODER_LIBRARY_VERSION,
180181
CURLOPT_CONNECTTIMEOUT =>0,// Time in seconds to timeout send request. 0 is no timeout.
181182
CURLOPT_FOLLOWLOCATION =>1,// Follow redirects.
182183
CURLOPT_SSL_VERIFYPEER =>1,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp