This commit is contained in:
danogentili 2016-10-09 17:43:46 +02:00
parent f27a79561f
commit 352a7a249f
2 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,6 @@ class DataCenter extends Tools
]; ];
} }
} }
$this->connect(2);
} }
public function connnect($dc_number, $settings = []) public function connnect($dc_number, $settings = [])

View File

@ -105,6 +105,7 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
// Connect to servers // Connect to servers
$this->connection = new DataCenter($this->settings['connection'], $this->settings['connection_settings']); $this->connection = new DataCenter($this->settings['connection'], $this->settings['connection_settings']);
var_dump($this->connection); var_dump($this->connection);
$this->connection->connect(2);
// Load rsa key // Load rsa key
$this->key = new RSA($settings['authorization']['rsa_key']); $this->key = new RSA($settings['authorization']['rsa_key']);