forked from opencad-community/OpenCAD-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoc-config.sample.php
More file actions
178 lines (162 loc) · 5.34 KB
/
Copy pathoc-config.sample.php
File metadata and controls
178 lines (162 loc) · 5.34 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<?php
/**#@+
*Application Settings
*
* This section includes settings for Database connectivity, base url, email config, and
* These settings are MANDATORY. If they are not configured properly OpenCAD will not function correctly.
*
* When editing configuration constants be sure to only edit the contents of the second set of quotes in each.
* @since 1.0a RC2
**/
/**#@+
*Community Name
*
* Set your communities name by changing 'My Community'
* @since 1.0a RC1
*/
define('COMMUNITY_NAME', 'My Community');
/**#@+
* Database connection variables
*
* @since 1.0a RC1
*/
define('DB_NAME', 'openCAD');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
define('DB_HOST', '127.0.0.1');
/**#@+
* Base URL Settings
*
* BASE_URL - The URL to your installation of OpenCAD inlcuding,
* if utilized, it's subdirectory
*
* Valid Examples include:
* //example.com - Root domain, no subdirectory
* //subdomain.example.com - subdomain, no subdirectory
* //subdomain.example.comsubdir - subdomain with subdirectory
* //example.com/subdir - root domain with subdirectory
*
* The OpenCAD teams does not reccomend including the trailing / on any of the above examples.
* It won't necessarily break anything but just makes reference look strange having
* two slashed when it isn't needed.
*
* @since 1.0a RC1
*/
define('BASE_URL', '//example.com');
/**#@+
*To & From emails for system generated emails
* To be used in a later version for notificaton emails
*
* @since 1.0a RC2
*
*/
define('CAD_FROM_EMAIL', 'cad@community.com');
define('CAD_FROM_NAME', COMMUNITY_NAME.' CAD');
define('CAD_TO_EMAIL', 'admins@community.com');
define('CAD_TO_NAME', COMMUNITY_NAME.' Administrators');
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* UTILIZIATION TO BE IMPLEMENTED
*
* @since 1.0a RC2
*
**/
define('AUTH_KEY', 'put your unique phrase here');
define('SECURE_AUTH_KEY', 'put your unique phrase here');
define('LOGGED_IN_KEY', 'put your unique phrase here');
define('NONCE_KEY', 'put your unique phrase here');
define('AUTH_SALT', 'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT', 'put your unique phrase here');
define('NONCE_SALT', 'put your unique phrase here');
/**#@+
* Feature Settings
*
* These settings effect OpenCAD's core functions
* These setting will likely be moved to an *_options table in a future version.
*
* @since OpenCAD 1804
**/
/**#@+
* HIDE_NCIC_RESCUCE
*
* These settings effect OpenCAD's core functions
* These setting will likely be moved to an *_options table in a future version.
*
* @since OpenCAD 1804
**/
define('HIDE_NCIC_RESCUCE', true);
/**#@+
* OpenCAD Feature Settings
*
* This section controls settings for OpenCAD's core features.
* These setting will likely be moved to an *_options table in a future version.
*
* @since OpenCAD 1804
**/
/**#@+
* POLICE_NCIC
*
* Shows/Hides NCIC functionality on MDT console.
* If 'true' then LEO will be able to use NCIC functions without the need for
* a dispatcher, else if 'flase' then LEO will require the presence of
* dispatcher to use NCIC funcationality.
* These settings will likely be moved to an *_options table in a future version.
*
* @sicne OpenCAD 1804
**/
define('POLICE_NCIC', false);
/**#@+
* CIV_WARRANT
*
* Allow/Disallow Civiliians from managing their warrants. If set to 'true'
* then Civs will be able to delete warrants from their profile, else if set
* to 'false' then Civs will not have the ability to remove warrants.
* These settings will likely be moved to an *_options table in a future version.
*
* @since OpenCAD 1803
**/
define('CIV_WARRANT', false);
/**#@+
* CIV_REG
*
* Allow/Disallow direct registration for Civillians.
* If set to 'true' then civillians will not require admin approval, esle if
* set to 'false' then Civillian registartion will require Admin approval.
* Allow/Disallow immediate regitration for civilians.
* If 'true' then civilian registartion will require Administrator approval
* else if 'false' then civilian registrations will NOT require
* Administrator approval.
* These settings will likely be moved to an *_options table in a future version.
*
* @since OpenCAD 1803
**/
define('CIV_REG', false);
/**#@+
* Extra Settings
*
* This section included boolean settings for Gravatar Fetch, NCIC in MDT, and more.
* These setting will likely be moved to an *_options table in a future version.
*
* @since 1.0a RC2
**/
/**#@+
* Gravatar Fetch
*
* OpenCAD will dynamically retrieve your avatar from {@link Gravatar http://en.gravatar.com/} if you have an account. Otherwise
* it will use the default generic avatar image included with OpenCAD .
*
* @since 1.0a RC1
**/
define('USE_GRAVATAR', true);
/** That's all, stop editing! Happy roleplaying. **/
/** Absolute path to the OpenCAD directory. **/
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
include ABSPATH . "oc-functions.php";
?>