forked from devaneando/Wikitten
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.php
59 lines (44 loc) · 1.24 KB
/
default.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
<?php
define('APP_STARTED', true);
// Conditionally load configuration from a config.php file in
// the site root, if it exists.
if (is_file($config_file = __DIR__ . DIRECTORY_SEPARATOR . 'config.php')) {
require_once $config_file;
}
if (!defined('APP_NAME')) {
define('APP_NAME', 'Wikitten');
}
if (!defined('LIBRARY')) {
define('LIBRARY', __DIR__ . DIRECTORY_SEPARATOR . 'library');
}
if (!defined('DEFAULT_FILE')) {
define('DEFAULT_FILE', 'index.md');
}
if (!defined('USE_WIKITTEN_LOGO')) {
define('USE_WIKITTEN_LOGO', true);
}
if (!defined('USE_DARK_THEME')) {
define('USE_DARK_THEME', false);
}
if (!defined('USE_PAGE_METADATA')) {
define('USE_PAGE_METADATA', true);
}
if (!defined('ENABLE_EDITING')) {
define('ENABLE_EDITING', false);
}
if (!defined('ENABLE_PASTEBIN')) {
define('ENABLE_PASTEBIN', false);
}
if (!defined('PASTEBIN_API_KEY')) {
define('PASTEBIN_API_KEY', false);
}
if (!defined('EXTERNAL_LINK_TARGET')) {
define('EXTERNAL_LINK_TARGET', '_blank');
}
if (!defined('INTERNAL_WIKI_LINK')) {
define('INTERNAL_WIKI_LINK', true);
}
if (!defined('CUSTOM_MARKDOWN_STYLESHEET')) {
define('CUSTOM_MARKDOWN_STYLESHEET', '');
}
define('PLUGINS', __DIR__ . DIRECTORY_SEPARATOR . 'plugins');