-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathconfig.php
81 lines (71 loc) · 2.95 KB
/
config.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
$config["title"] = "FoOlSlideX";
$config["divider"] = ".::.";
$config["slogan"] = "Mangas for Fools!";
$config["logs"] = true;
$config["debug"] = true;
$config["url"] = "http://localhost/fsx/public/";
$config["email"] = "[email protected]";
$config["activation"] = false; // Activate account through email?
$config["shareAnonymousAnalytics"] = true;
$config["api"] = true; // not really working rn, still please let it enabled until newer versions
$config["db"]["type"] = "sleek"; // "sleek"
$config["db"]["sleek"]["dir"] = "/database";
$config["db"]["sleek"]["config"] = array(
"auto_cache" => true,
"cache_lifetime" => null,
"timeout" => false, // deprecated! Set it to false!
"primary_key" => "id",
"search" => array(
"min_length" => 2,
"mode" => "or",
"score_key" => "scoreKey"
),
"folder_permissions" => 0777
);
// MaxFileSize (in Bytes, visit https://www.gbmb.org/mb-to-bytes for help)
$config["mfs"]["cover"] = 5242880; // 5MB
$config["mfs"]["chapter"] = 52428800; // 50MB
// Default-Variablen
$config["default"]["theme"] = "nucleus";
$config["default"]["lang"] = "en";
$config["default"]["avatar"] = "https://rav.h33t.moe/data/8c4f8647-4bec-420e-96e0-284125793baf.jpeg";
// Captcha
$config["captcha"]["enabled"] = false;
$config["captcha"]["type"] = "hcaptcha"; // "hcaptcha"
$config["captcha"]["hcaptcha"]["secret"] = "";
$config["captcha"]["hcaptcha"]["sitekey"] = "";
// Themes and Languages
$config["themes"] = array(
"nucleus" => "Nucleus"
);
$config["langs"] = array(
"en" => "English",
);
// Avatars
$config["avatars"] = array(
"https://rav.h33t.moe/data/8c4f8647-4bec-420e-96e0-284125793baf.jpeg",
"https://rav.h33t.moe/data/cf39f370-73f9-4428-bc65-136e1d509cc9.jpeg",
"https://rav.shishnet.org/af4cf8aadc45565bbeecb0ced4857ed5.jpeg",
"https://rav.shishnet.org/4f054d8a364b1cb658a458df687621c6.jpeg",
"https://rav.shishnet.org/21e78a09e342964a8c7ce20e410697d0.jpeg",
"https://rav.shishnet.org/436e8788f8ed655e9c74c54dc9947d00.jpeg",
"https://rav.shishnet.org/3737e6629146ba78fb4a84284357802a.gif",
"https://rav.shishnet.org/c6bbc472ba1ec7012620ac0c1b35491a.gif",
);
// X elements per page for pagination
$config["perpage"]["titles"] = 25;
$config["perpage"]["chapters"] = 36;
$config["path"]["sleek"] = "/software/SleekDB";
$config["path"]["parsedown"] = "/software";
$config["path"]["langs"] = "/library/langs";
$config["path"]["htmlpurifier"] = "/software/HTMLPurifier";
$config["path"]["smarty"] = "/software/Smarty";
$config["path"]["plugins"] = "/library/plugins";
$config["path"]["phpmailer"] = "/software/PHPMailer";
$config["path"]["imagescrambler"] = "/software";
// Diese Software nutzt Smarty als Template-Engine. Dokumentation: https://smarty-php.github.io/smarty/
$config["smarty"]["template"] = "/library/themes";
$config["smarty"]["config"] = "/software/Smarty/config";
$config["smarty"]["compile"] = "/software/Smarty/compile";
$config["smarty"]["cache"] = "/software/Smarty/cache";