diff options
-rw-r--r-- | etc/inc/dyndns.class | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index e66946b..7be0c9c 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -117,7 +117,7 @@ curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_USERAGENT, $this->_UserAgent); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); - curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 120); } switch ($this->_dnsService) { @@ -127,7 +127,7 @@ curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass); curl_setopt($ch, CURLOPT_URL, 'https://members.dyndns.org/nic/update?hostname='.$this->_dnsHost.'&myip='.$this->_dnsIP.'&wildcard='.$this->_dnsWildcard.'&mx='.$this->_dnsMX.'&backmx=NO'); $data = curl_exec($ch); - curl_close($ch); +\ curl_close($ch); $this->_checkStatus($data); break; case 'dyndns-static': @@ -359,7 +359,7 @@ break; default: $status = "phpDynDNS: (Unknown Response)"; - $this->_debug($data); + $this->_debug("Unknown Response: ".$data); break; } break; @@ -554,4 +554,4 @@ } -?>
\ No newline at end of file +?> |