This repository was archived by the owner on Jul 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig.example.php
More file actions
107 lines (99 loc) · 3.27 KB
/
Copy pathconfig.example.php
File metadata and controls
107 lines (99 loc) · 3.27 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
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
<?php
return [
# Page Information
'info' => [
'pageTitle' => 'Team Quantum',
'slogan' => 'Quantum CMS <3',
],
# The PATH under which the main site is accessible after domain with trailing slash
# Example: example.com/homepage --> base_path = /homepage/
'base_path' => '/',
# Only for development purposes
# Disables e.g. Captcha for testing purposes
'in_dev' => false,
# ReCaptcha Support
# enabled is a boolean (true/false)
# public key is the site key
# private key is the secret key
'recaptcha' => [
'enabled' => true,
'public' => '',
'private' => '',
],
# Site Captcha Lib
# if u use ReCaptcha, disable this
'captchalib' => [
'enabled' => false
// TODO: Create own Captcha lib
],
# News System
# choose your board and configure the newspage
'news' => [
'path' => '../../board/', # path to your board from the news page with trailing slash
'type' => [
'version' => 'internal', # use: 'wbb3', 'wbb4', 'internal'
'internal' => 'board' # leave this empty if you use an external board | use: 'board', 'internal', ''
],
'boardid' => '', # the Board from where the news should be loaded
'messages' => '5'
],
# Site only database (internal)
# This will be put in a protected directory automatically
# while you install this cms, please don't change this!
'internal_database' => [
'type' => 'sqlite',
'path' => 'storage/db.sqlite'
],
#Server database info
'server_database' => [
# Database information for the server that runs online
'production' => [
# Account Database Information
'account' => [
'type' => 'mysql',
'server' => 'localhost',
'username' => 'user',
'password' => 'pass',
'database' => 'account',
'port' => 3306,
],
'player' => [
# Player Database Information
'type' => 'mysql',
'server' => 'localhost',
'username' => 'user',
'password' => 'pass',
'database' => 'player',
'port' => 3306,
],
'board' => [
# Board Database Information (if you use an external board like wbb3)
'type' => 'mysql',
'server' => 'localhost',
'username' => 'user',
'password' => 'pass',
'database' => 'wcf',
'port' => 3306,
],
],
# Database info for your local machine. Use only in_dev = true
'dev' => [
'account' => [
'type' => 'mysql',
'server' => 'localhost',
'username' => 'user',
'password' => 'pass',
'database' => 'account',
'port' => 3306,
],
'player' => [
'type' => 'mysql',
'server' => 'localhost',
'username' => 'user',
'password' => 'pass',
'database' => 'player',
'port' => 3306,
],
]
]
];