-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.example.php
113 lines (90 loc) · 3.05 KB
/
config.example.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
<?php
/**
* foxverse Configuration File.
*/
return [
// Database configuration according to https://laravel.com/docs/5.2/database#introduction
// Put some here in advance, uncomment the one you need.
'database' => [
// MySQL
'driver' => 'mysql',
'host' => 'localhost',
'port' => 3306,
'username' => 'root',
'password' => '',
'prefix' => '',
'database' => 'foxverse_dev',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
],
// General site settings
'general' => [
// Name of the site
'name' => 'foxverse',
// Default logo of the site (empty for the default)
'logo' => '',
// Description of the site
'description' => 'foxverse is a Miiverse clone for 3DS, Wii U and PC!',
// Close the site for maintenance
'maintenance' => false,
// Date formatting string
'date_format' => 'D Y/m/d g:i A T',
// Hashids salt (prevents stuff from getting scraped easily)
'link_salt' => 'changethis',
],
// Cloudinary settings
'cloudinary' => [
// Cloudinary cloud name
'cloud_name' => '',
// Cloudinary API key
'api_key' => '',
// Cloudinary API secret
'api_secret' => '',
// Mii images preset
'mii_preset' => '',
// Drawings preset
'drawings_preset' => '',
// Screnshots preset
'image_preset' => '',
],
// Nintendo API settings
'nintendo' => [
// Client ID
'client_id' => '',
// Client secret
'client_secret' => '',
],
// Cookie settings
'cookie' => [
'prefix' => 'miiverse_',
],
// Performance settings
'performance' => [
// Compress output using gzip, recommended to turn this off while debugging
'compression' => true,
// Cache directory
'cache_dir' => path('store/cache/'),
// Enable template caching
'template_cache' => true,
],
// Development specific settings
'dev' => [
// Show detailed error logs in browser
'show_errors' => false,
// Enable twig (the templating engine) debug mode
'twig_debug' => false,
// Host for the shyla dev:serve command
'host' => 'localhost:8000',
// Reporting host address
'report_host' => '',
],
// Ranks ids, these ranks are used by automated procedures in the backend
// If you're using the setup command in topia, these are already set correctly for you!
'rank' => [
'regular' => 1,
'verified' => 2,
'mod' => 3,
'admin' => 4,
'banned' => 5,
],
];