· 7 years ago · Apr 13, 2018, 03:12 PM
1<?php
2
3/**#@+
4 *Application Settings
5 *
6 * This section includes settings for Database connectivity, base url, email config, and
7 * These settings are MANDATORY. If they are not configured properly OpenCAD will not function correctly.
8 *
9 * When editing configuration constants be sure to only edit the contents of the second set of quotes in each.
10 * @since 1.0a RC2
11 **/
12
13/**#@+
14 *Community Name
15 *
16 * Set your communities name by changing 'My Community'
17 * @since 1.0a RC1
18 */
19define('COMMUNITY_NAME', 'My Community');
20
21/**#@+
22 * Database connection variables
23 *
24 * @since 1.0a RC1
25 */
26define('DB_NAME', ' );
27define('DB_USER', ' ');
28define('DB_PASSWORD', ' ');
29define('DB_HOST', 'localhost');
30
31/**#@+
32 * Base URL Settings
33 *
34 * BASE_URL - The URL to your installation of OpenCAD inlcuding,
35 * if utilized, it's subdirectory
36 *
37 * Valid Examples include:
38 * //example.com - Root domain, no subdirectory
39 * //subdomain.example.com - subdomain, no subdirectory
40 * //subdomain.example.comsubdir - subdomain with subdirectory
41 * //example.com/subdir - root domain with subdirectory
42 *
43 * We do not reccomend including the trailing / on any of the above examples.
44 * It won't necessarily break anything but just make reference look strange having
45 * two slashed when it isn't needed.
46 *
47 * @since 1.0a RC1
48 */
49define('BASE_URL', '//apolloradio.net');
50
51/**#@+
52 *To & From emails for system generated emails
53 * To be used in a later version for notificaton emails
54 *
55 * @since 1.0a RC2
56 *
57 */
58define('CAD_FROM_EMAIL', 'cad@community.com');
59define('CAD_FROM_NAME', COMMUNITY_NAME.' CAD');
60define('CAD_TO_EMAIL', 'admins@community.com');
61define('CAD_TO_NAME', COMMUNITY_NAME.' Administrators');
62
63/**#@+
64 * Authentication Unique Keys and Salts.
65 *
66 * Change these to different unique phrases!
67 * You can generate these using the {@link WordPress.org secret-key service}
68 * 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.
69 *
70 * UTILIZIATION TO BE IMPLEMENTED
71 *
72 * @since 1.0a RC2
73 *
74 */
75define('AUTH_KEY', 'put your unique phrase here');
76define('SECURE_AUTH_KEY', 'put your unique phrase here');
77define('LOGGED_IN_KEY', 'put your unique phrase here');
78define('NONCE_KEY', 'put your unique phrase here');
79define('AUTH_SALT', 'put your unique phrase here');
80define('SECURE_AUTH_SALT', 'put your unique phrase here');
81define('LOGGED_IN_SALT', 'put your unique phrase here');
82define('NONCE_SALT', 'put your unique phrase here');
83
84/**#@+
85<<<<<<< HEAD
86 * Feature Settings
87 *
88 * These settings effect OpenCAD's core functions
89 * These setting will likely be moved to an *_options table in a future version.
90 *
91 * @since OpenCAD 1804
92 **/
93
94/**#@+
95 * HIDE_NCIC_RESCUCE
96 *
97 * These settings effect OpenCAD's core functions
98 * These setting will likely be moved to an *_options table in a future version.
99 *
100 * @since OpenCAD 1804
101**/
102define('HIDE_NCIC_RESCUCE', true);
103
104/**#@+
105 * POLICE_NCIC
106 *
107 * Show/Hide NCIC in MDT. If set to 'true' the NCIC will appear in the MDT, else
108 * If set to 'false' the MDT will not show the NCIC.
109 * These settings will likely be moved to an *_options table in a future version.
110 *
111 * @since OpenCAD 1803
112 **/
113/**#@+
114 * OpenCAD Feature Settings
115 *
116 * This section controls settings for OpenCAD's core features.
117 * These setting will likely be moved to an *_options table in a future version.
118 *
119 * @since OpenCAD 1804
120 **/
121
122 /**#@+
123 * POLICE_NCIC
124 *
125 * Shows/Hides NCIC functionality on MDT console.
126 * If 'true' then LEO will be able to use NCIC functions without the need for
127 * a dispatcher, else if 'flase' then LEO will require the presence of
128 * dispatcher to use NCIC funcationality.
129 * These settings will likely be moved to an *_options table in a future version.
130 *
131 * @sicne OpenCAD 1804
132 **/
133/* Enable or disable NCIC in MDT */
134define('POLICE_NCIC', false);
135
136/**#@+
137 * CIV_WARRANT
138 *
139 * Allow/Disallow Civiliians from managing their warrants. If set to 'true'
140 * then Civs will be able to delete warrants from their profile, else if set
141 * to 'false' then Civs will not have the ability to remove warrants.
142 * These settings will likely be moved to an *_options table in a future version.
143 *
144 * @since OpenCAD 1803
145 **/
146define('CIV_WARRANT', false);
147
148/**#@+
149 * CIV_REG
150 *
151<<<<<<< HEAD
152 * Allow/Disallow direct registration for Civillians.
153 * If set to 'true' then civillians will not require admin approval, esle if
154 * set to 'false' then Civillian registartion will require Admin approval.
155=======
156 * Allow/Disallow immediate regitration for civilians.
157 * If 'true' then civilian registartion will require Administrator approval
158 * else if 'false' then civilian registrations will NOT require
159 * Administrator approval.
160>>>>>>> 3f20689d3a543601c25d31b5b56daeb07bf9e77c
161 * These settings will likely be moved to an *_options table in a future version.
162 *
163 * @since OpenCAD 1803
164 **/
165/*Enable or disable people to register as only a civilian without having them to be approved */
166define('CIV_REG', false);
167
168/**#@+
169 * Extra Settings
170 *
171 * This section included boolean settings for Gravatar Fetch, NCIC in MDT, and more.
172 * These setting will likely be moved to an *_options table in a future version.
173 *
174 * @since 1.0a RC2
175 **/
176
177/**#@+
178 * Gravatar Fetch
179 *
180 * OpenCAD will dynamically retrieve your avatar from {@link Gravatar http://en.gravatar.com/} if you have an account. Otherwise
181 * it will use the default generic avatar image included with OpenCAD .
182 *
183 * @since 1.0a RC1
184 **/
185define('USE_GRAVATAR', true);
186
187/* That's all, stop editing! Happy dispatching. */
188/** Absolute path to the OpenCAD directory. */
189if ( !defined('ABSPATH') )
190 define('ABSPATH', dirname(__FILE__) . '/');
191
192include ABSPATH . "oc-functions.php";