forked from MohsenJS/MadelineprotoPluginSystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig-example.php
64 lines (52 loc) · 1.13 KB
/
Config-example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
declare(strict_types=1);
namespace OxMohsen;
use danog\MadelineProto\Logger;
final class Config
{
/**
* array of user-id of admins.
* e.g. 123456789.
*
* @var int[]
*/
public const ADMINS = [];
/**
* database host uri.
*/
public const DB_HOST = '127.0.0.1:3306';
/**
* database name.
*/
public const DB_NAME = 'MadelineProto';
/**
* database username.
*/
public const DB_USERNAME = 'root';
/**
* database password.
*/
public const DB_PASSWORD = '';
/**
* logger type.
*
* @see https://docs.madelineproto.xyz/PHP/danog/MadelineProto/Settings/Logger.html
*/
public const LOGGER_LEVEL = Logger::LEVEL_FATAL;
/**
* Session file name.
*/
public const SESSION_NAME = 'OxMohsen.madeline';
/**
* Data folder path.
*
* This path is used for saving session file.
*/
public const DATA_PATH = __DIR__.'/Data/';
/**
* Plugins folder path.
*
* Please change this if you know what you are doing.
*/
public const PLUGIN_PATH = __DIR__.'/Plugins/';
}