Skip to content

Commit 3dc5dbc

Browse files
committed
Added timeout parameter to ini settings
1 parent b8796cc commit 3dc5dbc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Protocols/EPP/eppConnection.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,12 @@ public function setConnectionDetails($settingsfile) {
10311031
} else {
10321032
$this->setPort(700);
10331033
}
1034+
if (array_key_exists('timeout',$result)) {
1035+
$this->setTimeout($result['timeout']);
1036+
} else {
1037+
$this->setTimeout(10);
1038+
}
1039+
10341040
if (array_key_exists('certificatefile',$result) && array_key_exists('certificatepassword',$result)) {
10351041
// Enter the path to your certificate and the password here
10361042
$this->enableCertification($result['certificatefile'], $result['certificatepassword']);

0 commit comments

Comments
 (0)