Update MTProto.php

This commit is contained in:
Daniil Gentili 2018-05-14 20:22:08 +02:00 committed by GitHub
parent 771bbdd9b9
commit 2fdb33d2e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,9 @@ class MTProto
if (!extension_loaded('xml')) {
throw new Exception(['extension', 'xml']);
}
if (!extension_loaded('json')) {
throw new Exception(['extension', 'json']);
}
// Connect to servers
$this->logger->logger(\danog\MadelineProto\Lang::$current_lang['inst_dc'], Logger::ULTRA_VERBOSE);
if (!isset($this->datacenter)) {