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

Commit4cb51b1

Browse files
author
Michael Christopher
committed
Renamed README and fixed Http layer
1 parent5ec3927 commit4cb51b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎READMErenamed to‎README.md

File renamed without changes.

‎Services/Zencoder/Http.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public function __call($name, $args) {
3333
CURLOPT_POSTFIELDS =>NULL,
3434
CURLOPT_CONNECTTIMEOUT =>30,
3535
CURLOPT_TIMEOUT =>30,
36-
CURLOPT_SSL_VERIFYPEER =>0,
37-
CURLOPT_SSL_VERIFYHOST =>0
36+
CURLOPT_SSL_VERIFYPEER =>0,#1
37+
CURLOPT_SSL_VERIFYHOST =>0#2
3838
);
3939

4040
foreach ($req_headersas$k =>$v)$opts[CURLOPT_HTTPHEADER][] ="$k:$v";
@@ -95,7 +95,7 @@ public function __call($name, $args) {
9595
}elsethrownewServices_Zencoder_HttpException(curl_error($curl));
9696
}elsethrownewServices_Zencoder_HttpException(curl_error($curl));
9797
}elsethrownewServices_Zencoder_HttpException('Unable to initialize cURL');
98-
}catch (ErrorException$e) {
98+
}catch (Services_Zencoder_HttpException$e) {
9999
if (is_resource($curl))curl_close($curl);
100100
if (isset($buf) &&is_resource($buf))fclose($buf);
101101
throw$e;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp