소스 검색

drobne poprawki cd.

Mariusz Muszyński 7 년 전
부모
커밋
68e8cdd5ab
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      SE/se-lib/VAT.php

+ 2 - 1
SE/se-lib/VAT.php

@@ -128,7 +128,8 @@ Class VAT {
 		curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, true);
 		curl_setopt($this->ch, CURLOPT_SSL_VERIFYHOST, false);
 		curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, false);
-		curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 10);
+		curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 5);
+		curl_setopt($this->ch, CURLOPT_TIMEOUT, 5);
 		curl_setopt($this->ch, CURLOPT_COOKIEJAR, $this->cookies);
 		curl_setopt($this->ch, CURLOPT_COOKIEFILE, $this->cookies);
 		curl_setopt($this->ch, CURLOPT_HEADERFUNCTION, "self::getHeaders");