mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 10:54:43 +01:00
11 lines
260 B
PHP
Executable File
11 lines
260 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);
|