mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 17:24:40 +01:00
Bump
This commit is contained in:
parent
a4145c7ad0
commit
2ec825efae
@ -1,6 +1,15 @@
|
||||
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
if (file_exists('vendor/autoload.php')) {
|
||||
require_once 'vendor/autoload.php';
|
||||
} else {
|
||||
// Otherwise download an !!! alpha !!! version of MadelineProto via madeline.php
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
require_once 'madeline.php';
|
||||
}
|
||||
|
||||
use danog\MadelineProto\Logger;
|
||||
use danog\MadelineProto\Settings;
|
||||
use danog\MadelineProto\Settings\Database\Mysql;
|
||||
|
Loading…
Reference in New Issue
Block a user