-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.php
49 lines (38 loc) · 1.86 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
<?php
if (file_exists(dirname(__FILE__).'/server.local.php')) {
require_once(dirname(__FILE__).'/server.local.php');
}
// Use this function to not overwrite values that were previously
// specified in server.local.php
// @TODO: Migrate all constants to use this handy function :)
function defineOnce($key, $value) {
if (!defined($key)) {
define($key, $value);
}
}
defineOnce('WORKLIST_URL', 'https://dev.worklist.net/worklist/');
defineOnce('CONTACT_EMAIL_ADDRESS', '[email protected]');
defineOnce('MC_ACCOUNT_ID', '6fed7d4aeb9076c82690f8f02');
defineOnce('MC_LIST_ID', '340beb1967');
defineOnce('SUBSCRIBE_URL', sprintf("https://highfidelity.us2.list-manage.com/subscribe/post?u=%s&id=%s", MC_ACCOUNT_ID, MC_LIST_ID));
defineOnce('JOBLIST_FEEDS_URL', WORKLIST_URL . 'feeds');
defineOnce('JOBLIST_PROJECTS', 'JoTester,korderotest1');
defineOnce('JOBLIST_MAX_LIMIT', 5);
defineOnce('VIEWS_DIR', dirname(__FILE__) . '/views/');
defineOnce('GITHUB_API_TOKEN', '');
defineOnce('GITHUB_REPO', 'highfidelity/hifi');
defineOnce('GITHUB_CUSTOM_STOPWORDS', 'pull,push,request,merge,fork,repo,master,build,github');
defineOnce('TEMP_DIR', dirname(__FILE__) . '/tmp');
defineOnce('MC_ALPHA_SUBSCRIBE_API_KEY', 'c8b29f2f7e16cd5292a1b04b4310216f-us2');
defineOnce('MC_ALPHA_SUBSCRIBE_LIST_ID', '56eb53e74a');
defineOnce('VIMEO_NICKNAME', 'highfidelityinc');
// screenshots settings
define('SCREENSHOTS_COUNT', 30);
define('DISCOURSE_API_PADDING', 15);
define('SCREENSHOTS_URL', 'https://alphas.highfidelity.io/t/random-picture-thread/244/%u.json?api_key=%s&api_username=%s');
define('DISCOURSE_URL', 'https://alphas.highfidelity.io/');
define('SCREENSHOT_FILE_PATH', dirname(__FILE__) . "/media/slideshow.json");
defineOnce('DISCOURSE_API_KEY', 'api_key');
defineOnce('DISCOURSE_API_USERNAME', 'api_username');
require_once('vendor/autoload.php');
require_once('functions.php');