-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.php
149 lines (117 loc) · 3.04 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?php
/**
* Authentication settings
*/
// Default target URL
// $target_url = 'https://example.com';
// Default username
// $user_name = 'someuser';
// Default password (NOT RECOMMENDED - DANGEROUS)
// $user_pass = 'goodpassword';
/**
* Security settings
*/
/**
* Security token that must be provided to access the login page (either as GET parameter or manually)
*/
// $access_token = 'some_long_random_string';
/**
* Disallow insecure http:// connections even if !http:// override option has been specified. DEFAULT 'false'
*/
$https_strict = false;
/**
* Allowed frame ancestors e.g. your cloud URL incl. https:// (if you want to open the script from external sites app)
* Multiple URLs can be set by separating them with a space
*/
// $frame_ancestors = 'https://cloud.example.com';
/**
* Set UI language
* Available languages can be found in the l10n directory
* e.g. 'en.php'
*
* DEFAULT 'en'
*
*/
$language = 'en';
/**
* Set default columns to show/export
*
* Available columns are:
* id, displayname, email, lastLogin, backend, enabled, quota, used,
* percentage_used, free, groups, subadmin, language and locale
*
* DEFAULT ['id', 'displayname', 'email', 'lastLogin']
*
* Has to be set as an array ['choice1', 'choice2', 'choice3', ...]
*
*/
$data_choices = ['id', 'displayname', 'email', 'lastLogin'];
/**
* Set default group to preselect
*
* DEFAULT unset
*
* filter_group has to be an exact match with an existing groupname
*
*/
// $filter_group = 'groupname';
/**
* Define +/- tolerance for disk space "almost equal to" filters in a
* decimal number representing percent (e.g. 0.15 for 15 %)
*
* DEFAULT 30 % ('0.3')
*
*/
$filter_tolerance = 0.3;
/**
* Define default quota in GiB for quota filters
*
* DEFAULT 20 GB ('20')
*
*/
$filter_quota = 20;
/**
* Define threshold under which the size is displayed as '< value' because it is negligible
*
* Set SI unit as second array value y [x,y]
* KiB = 1, MiB = 2, GiB = 3, ...
*
* DEFAULT [10,2] (10 MiB)
*
*/
$negligible_limit = [10,2];
/**
* Define threshold under which the usage (%) is displayed as '< value %' because it is negligible
*
* DEFAULT 0 (0 %)
*
*/
$negligible_limit_percent = 0;
/**
* Alter UI design
*
* Use html color codes or
*
*/
/** HTML Body (Main) Background **/
// $body_background_color = '';
/** Navigation (Menu) **/
// $navigation_background_color = '';
// $navigation_text_color = '';
// $navigation_current_background_color = '';
// $navigation_current_text_color = '';
// $navigation_hover_background_color = '';
// $navigation_hover_text_color = '';
/** Buttons **/
// $button_connect_background_color = '';
// $button_connect_text_color = '';
// $button_display_background_color = '';
// $button_display_text_color = '';
// $button_download_background_color = '';
// $button_download_text_color = '';
// $button_email_background_color = '';
// $button_email_text_color = '';
/** Tables **/
// $table_header_background_color = '';
// $table_header_text_color = '';
// EOF