File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2626 */
2727class Google_Client
2828{
29- const LIBVER = "1.0.6 -beta " ;
29+ const LIBVER = "1.1.0 -beta " ;
3030 const USER_AGENT_SUFFIX = "google-api-php-client/ " ;
3131 /**
3232 * @var Google_Auth_Abstract $auth
Original file line number Diff line number Diff line change @@ -213,8 +213,11 @@ public function authCache($io, $client)
213213
214214 public function responseChecker ($ io )
215215 {
216- $ curlVer = curl_version ();
217- $ hasQuirk = $ curlVer ['version_number ' ] < Google_IO_Curl::NO_QUIRK_VERSION ;
216+ $ hasQuirk = false ;
217+ if (function_exists ('curl_version ' )) {
218+ $ curlVer = curl_version ();
219+ $ hasQuirk = $ curlVer ['version_number ' ] < Google_IO_Curl::NO_QUIRK_VERSION ;
220+ }
218221
219222 $ rawHeaders = "HTTP/1.1 200 OK \r\n"
220223 . "Expires: Sun, 22 Jan 2012 09:00:56 GMT \r\n"
You can’t perform that action at this time.
0 commit comments