forked from redditbooru/reddit-booru
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.sample.php
More file actions
executable file
·43 lines (30 loc) · 1.05 KB
/
Copy pathconfig.sample.php
File metadata and controls
executable file
·43 lines (30 loc) · 1.05 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
<?php
// Database credentials
define('DB_HOST', 'localhost');
define('DB_USER', 'USER');
define('DB_PASS', 'PASSWORD');
define('DB_NAME', 'reddit-booru');
// Set the time zone
date_default_timezone_set('America/Chicago');
define('AWS_KEY', 'KEY');
define('AWS_SECRET', 'SECRET');
define('AWS_ENABLED', true);
define('AWS_BUCKET', 'BUCKET');
define('AWS_PATH', 'PATH/');
// Call me pessimistic, but I don't expect awwnime nor reddit to exist in 20 years
define('AWS_EXPIRATION', 630720000);
define('CDN_BASE_URL', 'http://BASE_URL/');
define('LOCAL_IMAGE_PATH', 'PATH_TO_IMAGES/');
define('THUMBNAIL_PATH', '/cache/');
define('REDDIT_TOKEN', 'TOKEN');
define('REDDIT_SECRET', 'SECRET');
define('REDDIT_USER', 'USER_NAME');
define('TUMBLR_CONSUMER_KEY', 'KEY');
// View directory
define('VIEW_PATH', './view/');
define('MONGO_DATABASE', 'redditbooru');
define('HTTP_UA', 'moe downloader by /u/dxprog');
define('SAUCENAO_KEY', 'SAUCENAO_API_KEY');
define('RB_BOT', 'ai-tan');
define('CACHE_PREFIX', 'RedditBooru');
define('REDIS_SERVER', 'tcp://127.0.0.1:6379');