-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.php.example
More file actions
executable file
·51 lines (43 loc) · 947 Bytes
/
config.php.example
File metadata and controls
executable file
·51 lines (43 loc) · 947 Bytes
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
<?php
/**
* @author Ammar Faizi <ammarfaizi2@gmail.com>
* @license MIT
*/
/**
* Database.
*/
define("DBHOST", "localhost");
define("DBNAME", "root");
define("DBUSER", "");
define("DBPASS", "");
/**
* Bot & Token.
*/
define("BOT_USERNAME", "BotUsername")
define("TOKEN", "1234567890:qwertyuiopasdfghjklzxcvbnm");
/**
* Super User.
*/
define("SUDOERS", [123456789]);
/**
* Data
*/
define("data", __DIR__."/public/data");
/**
* Virtualizor.
*/
$v = "/home/bot/public/";
define("PHPVIRTUAL_DIR", "{$v}php");
define("PHPVIRTUAL_URL", "https://www.example.com/php_virtual");
define("CVIRTUAL_DIR", "{$v}c");
define("CPPVIRTUAL_DIR", "{$v}cpp");
define("NODEVIRTUAL_DIR", "{$v}node");
define("RUBYVIRTUAL_DIR", "{$v}ruby");
define("JAVAVIRTUAL_DIR", "{$v}java");
define("PYTHONVIRTUAL_DIR", "{$v}python");
define("PUBLIC_DIR", __DIR__."/public");
/**
* MyAnimeList
*/
define("MAL_USER", "username");
define("MAL_PASS", "password");