-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.sample.php
77 lines (62 loc) · 1.71 KB
/
config.sample.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
<?php
use SoftwarePunt\Instarecord\Instarecord;
global $bssbConfig;
/**
* Sentry error logging
*/
if (!defined('IS_TEST_RUN')) {
Sentry\init(['dsn' => 'SET_ME']);
}
/**
* cache_enabled, boolean
* → If enabled: Enable compilation and response caching behavior (for production).
*/
$bssbConfig['cache_enabled'] = true;
/**
* response_cache_enabled, boolean
* → If enabled: Enable response caching behavior.
*/
$bssbConfig['response_cache_enabled'] = true;
/**
* hashids_salt, string
* → The salt used to calculate hashids.
*/
$bssbConfig['hashids_salt'] = "🧂";
/**
* steam_web_api_key, string
* → Steam Web API key (optional, for getting steam usernames).
*/
$bssbConfig['steam_web_api_key'] = "";
/**
* master server blacklist, array of strings
* → Games with a master server from this list will not be allowed to announce.
*/
$bssbConfig['master_server_blacklist'] = [];
/**
* allow_multiple_results, boolean
* → If enabled, AnnounceResultsController will not ignore duplicate or late results and process them like new
*/
$bssbConfig['allow_multiple_results'] = false;
/**
* enable_guide, boolean
* → If enabled, enable multiplayer guide page/feature
*/
$bssbConfig['enable_guide'] = false;
/**
* allow_boring, boolean
* → If enabled, allow "boring" games (local/LAN announces that aren't relevant).
*/
$bssbConfig['allow_boring'] = false;
/**
* Twitter API configuration
*/
$bssbConfig['twitter_api_key'] = null;
$bssbConfig['twitter_api_key_secret'] = null;
/**
* Instarecord configuration
*/
$dbConfig = Instarecord::config();
$dbConfig->unix_socket = "/var/lib/mysql/mysql.sock";
$dbConfig->username = "user";
$dbConfig->password = "password";
$dbConfig->database = "bssb";