-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig.php
More file actions
44 lines (37 loc) · 1.03 KB
/
config.php
File metadata and controls
44 lines (37 loc) · 1.03 KB
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
<?php
return [
// Perl regular expression format is used for pattern matching
'whitelist' => [
'ip' => [
'172.16.0..+'
],
'uri' => [
'paypal',
'api/v2_soap',
'sgps',
'admin(_[a-z0-9]+)?'
],
],
// Whether the queue system is enabled or not
'enabled' => false,
// Maximim number of users on site at any time
// Set value to -1 to force everyone into the queue
'threshold' => 100,
// Period of time a user can be idle in queue before being
// kicked out (in seconds)
'timer' => 600,
// Google anayltics tracking code
'ga_code' => '',
// Database backend
// sqlite: For single-server/low volume deployments
// mysql: For multi-server/high volume deployments
'database' => [
'driver' => 'sqlite',
'name' => 'queue',
'user' => '',
'password' => '',
'host' => '',
'queue_table' => 'queue',
],
'path' => realpath(dirname(__FILE__))
];