forked from SkinsRestorer/SkinSystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.nogit.php.example
45 lines (43 loc) · 1.12 KB
/
config.nogit.php.example
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
# This is an exmaple of SkinSystem configuration file
# ! For someone who can't pass an installation !
# If you need to use this file to be a configuration file.
# Don't forget to remove .example
# "config.nogit.php.example" -> "config.nogit.php"
<?php return [
'version' => '1.7.2',
/* Default theme for new users */
'def_theme' => '_light',
/* Warn all/eu/no users of data usage. 'eu' queries https://ipapi.co/<ip address>/in_eu */
'data_warn' => 'no',
/* AuthMe Configuration */
'am' => [
'enabled' => false,
'host' => '',
'port' => '',
'database' => '',
'username' => '',
'password' => '',
'table' => 'authme',
'hash' => [
'method' => 'sha256'
],
'authsec' => [
'enabled' => false,
'failed_attempts' => 3,
'threshold_hours' => 24
]
],
/* SkinsRestorer Configuration */
'sr' => [
'host' => 'localhost',
'port' => '3306',
'database' => '',
'skintable' => 'Skins',
'playertable' => 'Players',
'username' => '',
'password' => ''
],
/* Cache Configuration */
'cache_for_days' => 7,
'cache_dir' => 'resources/cache/'
];?>