update
This commit is contained in:
parent
f27a79561f
commit
352a7a249f
@ -36,7 +36,6 @@ class DataCenter extends Tools
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->connect(2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function connnect($dc_number, $settings = [])
|
public function connnect($dc_number, $settings = [])
|
||||||
|
@ -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']);
|
||||||
|
Loading…
Reference in New Issue
Block a user