1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 02:14:38 +01:00
MadelineProto/testing.php
danogentili b0a0e6d70c save
2016-09-24 17:58:17 +02:00

12 lines
261 B
PHP
Executable File

#!/usr/bin/env php
<?php
require_once 'vendor/autoload.php';
$config = parse_ini_file('credentials', true);
if (!$config) {
pyjslib_printnl("File 'credentials' seems to not exist.");
exit(-1);
}
$MadelineProto = new \danog\MadelineProto\API($config);