1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 01:34:40 +01:00

Update example

This commit is contained in:
Daniil Gentili 2020-11-26 21:50:06 +01:00
parent 28517ae364
commit db78ed1b2a
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -96,7 +96,7 @@ $settings = new Settings;
$settings->getLogger()->setLevel(Logger::LEVEL_ULTRA_VERBOSE);
// You can also use Redis, MySQL or PostgreSQL
$settings->setDb((new Redis)->setDatabase(0));
// $settings->setDb((new Redis)->setDatabase(0)->setPassword('pony'));
// $settings->setDb((new Postgres)->setDatabase('MadelineProto')->setUsername('daniil')->setPassword('pony'));
// $settings->setDb((new Mysql)->setDatabase('MadelineProto')->setUsername('daniil')->setPassword('pony'));