1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 21:14:43 +01:00

Fix composer.json syntax

This commit is contained in:
Daniil Gentili 2018-02-18 13:33:17 +00:00
parent e4a326e552
commit f2e13cdac1
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ If not, see <http://www.gnu.org/licenses/>.
set_include_path(get_include_path().':'.realpath(dirname(__FILE__).'/MadelineProto/'));
require 'vendor/autoload.php';
$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e'], 'connection_settings' => ['all' => ['protocol' => 'https', 'pfs' => true]]];
$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e'], 'connection_settings' => ['all' => ['protocol' => 'tcp_abridged', 'pfs' => true]]];
try {
$MadelineProto = new \danog\MadelineProto\API('bot.madeline');

View File

@ -37,14 +37,14 @@
"danog\\MadelineProto\\": "src/"
},
"files": [
"src/BigIntegor.php"
"src/BigIntegor.php",
"src/Socket.php",
"src/Collectable.php",
"src/Threaded.php",
"src/Volatile.php",
"src/Thread.php",
"src/Worker.php",
"src/Pool.php",
"src/Pool.php"
]
}
}