-
Notifications
You must be signed in to change notification settings - Fork 3
/
gab_config.php
executable file
·67 lines (60 loc) · 1.96 KB
/
gab_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
<?php
class gab_config {
// General Forum //// /////////////////////////////////
public $forum_id = 1;
public $forum_name = "Gab";
public $forum_description = "
Embeddable, Extendable, Minimal next-gen forum software that's easy to deploy.
";
// Deployment /////// /////////////////////////////////
// Do not include the trailing slash on path names
public $model_folder = "models";
public $templates_folder = "templates";
public $controller_folder = "controllers";
public $extensions_folder = "extensions";
public $uploads_folder = "uploads";
// Examples: '' or '/gab'
public $base_url = "";
// Extension //////// ///////////////////////////
// Active Extensions
public $ext = array(
"feat_options",
"feat_openid",
"misc_gablogo",
"parser_embed",
"theme_silicone",
"parser_markdown",
"ux_timeago",
"search_",
);
// Ext options settings
public $ext_options = array(
'search_' => array (
'url' => '',
'auth' => array(/*Username:*/"", /*Password:*/"")
),
'feat_options' => array(
'blacklist' => array(),
'extends' => 'gab',
'options_class' => 'custom_gab',
'filename' => 'custom_gab.php'
)
);
public $ext_options_config = array();
public $ext_options_blacklist = array();
public $ext_options_extends = 'gab';
public $ext_options_filename = 'custom_gab.php';
public $ext_options_options_class = 'custom_gab';
}
// Permissions ////// ///////////////////////////////
class permission {
CONST DELETE = 'mod';
CONST RECOVER = 'mod';
CONST EDIT = 'mod';
CONST SEE_DELETED = 'mod';
CONST MODIFY_OWN = '*'; // <- Star means everyone.
CONST OPTIONS = 'owner';
CONST NEW_CATEGORY = 'mod';
CONST ASSIGN_MODS = 'mod';
CONST BAN = 'mod';
}