Update MTProto.php
This commit is contained in:
parent
771bbdd9b9
commit
2fdb33d2e4
@ -109,6 +109,9 @@ class MTProto
|
|||||||
if (!extension_loaded('xml')) {
|
if (!extension_loaded('xml')) {
|
||||||
throw new Exception(['extension', 'xml']);
|
throw new Exception(['extension', 'xml']);
|
||||||
}
|
}
|
||||||
|
if (!extension_loaded('json')) {
|
||||||
|
throw new Exception(['extension', 'json']);
|
||||||
|
}
|
||||||
// Connect to servers
|
// Connect to servers
|
||||||
$this->logger->logger(\danog\MadelineProto\Lang::$current_lang['inst_dc'], Logger::ULTRA_VERBOSE);
|
$this->logger->logger(\danog\MadelineProto\Lang::$current_lang['inst_dc'], Logger::ULTRA_VERBOSE);
|
||||||
if (!isset($this->datacenter)) {
|
if (!isset($this->datacenter)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user