Skip to content

Commit

Permalink
v1.17.6
Browse files Browse the repository at this point in the history
  • Loading branch information
xa81 committed Jan 4, 2025
1 parent 6cfa1f6 commit f68c449
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions coremio/modules/Registrars/DomainNameAPI/DomainNameAPI.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?php

use DomainNameApi\DomainNameAPI_PHPLibrary;

/**
* DomainNameAPI Registrar Module
* @package coremio/modules/Registrars/DomainNameAPI
* @version 1.17.5
* @version 1.17.6
* @since File available since Release 7.0.0
* @license MIT License https://opensource.org/licenses/MIT
* @link https://visecp.com/
Expand All @@ -11,6 +14,7 @@
*/

class DomainNameAPI {
/** @var bool|DomainNameAPI_PHPLibrary */
public $api = false;
public $config = [];
public $lang = [];
Expand Down Expand Up @@ -70,10 +74,10 @@ function __construct($external = []) {
*/
private function set_credentials()
{
if ($this->api instanceof \DomainNameApi\DomainNameAPI_PHPLibrary) {
if ($this->api instanceof DomainNameAPI_PHPLibrary) {
return $this->api;
}
$this->api = new \DomainNameApi\DomainNameAPI_PHPLibrary($this->username, $this->password);
$this->api = new DomainNameAPI_PHPLibrary($this->username, $this->password);
}


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

$this->api = new \DomainNameApi\DomainNameAPI_PHPLibrary($username, $password);
$this->api = new DomainNameAPI_PHPLibrary($username, $password);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion coremio/modules/Registrars/DomainNameAPI/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return [
'meta' => [
'name' => 'DomainNameAPI',
'version' => '1.17.5',
'version' => '1.17.6',
'logo' => 'logo.png',
],
'settings' => [
Expand Down

0 comments on commit f68c449

Please sign in to comment.