Skip to content

Commit

Permalink
BUG-5274: WISECP sürüm güncelleme sorunu - 3682601
Browse files Browse the repository at this point in the history
  • Loading branch information
bakcay authored and xa81 committed Jan 9, 2025
1 parent f68c449 commit 994ee68
Show file tree
Hide file tree
Showing 10 changed files with 352 additions and 238 deletions.
9 changes: 6 additions & 3 deletions coremio/modules/Registrars/DomainNameAPI/DomainNameAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* DomainNameAPI Registrar Module
* @package coremio/modules/Registrars/DomainNameAPI
* @version 1.17.6
* @version 1.17.7
* @since File available since Release 7.0.0
* @license MIT License https://opensource.org/licenses/MIT
* @link https://visecp.com/
Expand All @@ -14,6 +14,9 @@
*/

class DomainNameAPI {

public $version = "1.17.7";

/** @var bool|DomainNameAPI_PHPLibrary */
public $api = false;
public $config = [];
Expand Down Expand Up @@ -77,7 +80,7 @@ private function set_credentials()
if ($this->api instanceof DomainNameAPI_PHPLibrary) {
return $this->api;
}
$this->api = new DomainNameAPI_PHPLibrary($this->username, $this->password);
$this->api = new DomainNameAPI_PHPLibrary($this->username, $this->password,DomainNameAPI_PHPLibrary::APPLICATION_WISECP);
}


Expand All @@ -95,7 +98,7 @@ private function setConfig($username, $password, $tmode) {
$this->config["settings"]["password"] = $password;
//$this->config["settings"]["test-mode"] = $tmode;

$this->api = new DomainNameAPI_PHPLibrary($username, $password);
$this->api = new DomainNameAPI_PHPLibrary($username, $password,DomainNameAPI_PHPLibrary::APPLICATION_WISECP);
}

/**
Expand Down
Loading

0 comments on commit 994ee68

Please sign in to comment.