-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.default.php
322 lines (265 loc) · 9.81 KB
/
config.default.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
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
<?php
/**
* Default Configuration file
*
*
* This file is part of queXS
*
* queXS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* queXS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with queXS; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*
* @author Adam Zammit <adam.zammit@deakin.edu.au>
* @copyright Deakin University 2007,2008
* @package queXS
* @subpackage configuration
* @link http://www.deakin.edu.au/dcarf/ queXS was writen for DCARF - Deakin Computer Assisted Research Facility
* @license http://opensource.org/licenses/gpl-2.0.php The GNU General Public License (GPL) Version 2
*
*/
/**
*
* DO NOT MODIFY THIS FILE!
*
* Make your configuration changes in config.inc.php
*
*
*/
/**
* Date time format for displaying
*
* see http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_date-format
* for configuration details for DATE_TIME_FORMAT and TIME_FORMAT
*/
if (!defined('DATE_TIME_FORMAT')) define('DATE_TIME_FORMAT','%a %d %b %I:%i%p');
/**
* Date format for displaying: see above for mySQL details
*/
if (!defined('DATE_FORMAT')) define('DATE_FORMAT','%a %d %b');
/**
* Time format for displaying: see above for mySQL details
*/
if (!defined('TIME_FORMAT')) define('TIME_FORMAT','%I:%i%p');
/**
* Flag for VoIP with Asterisk to be enabled or not
*/
if (!defined('VOIP_ENABLED')) define('VOIP_ENABLED',false);
/**
* Allow operators to choose their extension?
*/
if (!defined('ALLOW_OPERATOR_EXTENSION_SELECT')) define('ALLOW_OPERATOR_EXTENSION_SELECT',false);
/**
* The Asterisk server address
*/
if (!defined('VOIP_SERVER')) define('VOIP_SERVER','localhost');
/**
* The Asterisk server username for the monitor interface
*/
if (!defined('VOIP_ADMIN_USER')) define('VOIP_ADMIN_USER','admin');
/**
* The Asterisk server password for the monitor interface
*/
if (!defined('VOIP_ADMIN_PASS')) define('VOIP_ADMIN_PASS','amp111');
/**
* The Asterisk server port for the monitor interface
*/
if (!defined('VOIP_PORT')) define('VOIP_PORT','5038');
/**
* The Asterisk context to originate calls from (in FreePBX this should be
* 'from-internal' otherwise try 'default'
*/
if (!defined('ORIGINATE_CONTEXT')) define('ORIGINATE_CONTEXT','from-internal');
/**
* The freepbx root path (if installed) otherwise false to disable freepbx integration
*/
if (!defined ('FREEPBX_PATH')) define('FREEPBX_PATH', false);
/**
* The freepbx database name
*/
if (!defined ('FREEPBX_DATABASE')) define('FREEPBX_DATABASE', 'asterisk');
/**
* The meet me room id for the VOIP Server
*/
if (!defined('MEET_ME_ROOM')) define('MEET_ME_ROOM','5000');
/**
* Whether to automatically pop up a coding window when the respondent hangs up
*/
if (!defined('AUTO_POPUP')) define('AUTO_POPUP',false);
/**
* Whether to automatically code a no answer
*/
if (!defined('AUTO_CLOSE_NO_ANSWER')) define('AUTO_CLOSE_NO_ANSWER',false);
/**
* The extension of the supervisor for dialing the supervisor
*/
if (!defined('SUPERVISOR_EXTENSION')) define('SUPERVISOR_EXTENSION',"1000");
/**
* The path to limesurvey
*/
if (!defined('LIME_PATH')) define('LIME_PATH', 'include/limesurvey/');
/**
* Automatically move to the next question when clicked in limesurvey
*/
if (!defined('LIME_AUTO_ADVANCE')) define('LIME_AUTO_ADVANCE', true);
/**
* The path to queXS from the server root
*/
if (!defined('QUEXS_PATH')) define('QUEXS_PATH', '/quexs/');
/**
* The port queXS is running on (default blank, use :8080 for example if using
* port 8080)
*/
if (!defined('QUEXS_PORT')) define('QUEXS_PORT', '');
$protocol = "http://";
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443)
{
$protocol = "https://";
}
/**
* The complete URL to limesurvey
*/
if (!defined('LIME_URL')) define('LIME_URL', $protocol . $_SERVER['SERVER_NAME'] . QUEXS_PORT . QUEXS_PATH . LIME_PATH);
/**
* The complete URL to this copy of queXS
*/
if (!defined('QUEXS_URL')) define('QUEXS_URL', $protocol . $_SERVER['SERVER_NAME'] . QUEXS_PORT . QUEXS_PATH);
/**
* The default locale (language)
*/
if (!defined('DEFAULT_LOCALE')) define('DEFAULT_LOCALE','en');
/**
* PHP Executables (for forking when running background processes)
*/
if (!defined('WINDOWS_PHP_EXEC')) define('WINDOWS_PHP_EXEC', "start /b php");
if (!defined('PHP_EXEC')) define('PHP_EXEC', "php");
/**
* Path to ADODB
*/
if (!defined('ADODB_PATH')) define('ADODB_PATH',dirname(__FILE__).'/include/limesurvey/classes/adodb/');
/**
* Whether to automatically assign a call as complete if VoIP disabled at the end of a completed questionnaire
*/
if (!defined('AUTO_COMPLETE_OUTCOME')) define('AUTO_COMPLETE_OUTCOME',false);
/**
* The number of minutes of inactivity to wait before automatically logging out an operator with an open screen
* False to disable
*/
if (!defined('AUTO_LOGOUT_MINUTES')) define('AUTO_LOGOUT_MINUTES',false);
/**
* The number of seconds to wait before automatically dialling the first available number or ending the case
* where an operator has an open screen
* False to disable
*/
if (!defined('AUTO_DIAL_SECONDS')) define('AUTO_DIAL_SECONDS',false);
/**
* The default tab to start on on the main screen
*/
if (!defined('DEFAULT_TAB')) define('DEFAULT_TAB','casenotes');
/**
* The default tab to start on for appointments
*/
if (!defined('DEFAULT_TAB_APPOINTMENT')) define('DEFAULT_TAB_APPOINTMENT','casenotes');
/**
* Show tabs?
*/
if (!defined('TAB_CONTACTDETAILS')) define('TAB_CONTACTDETAILS', false);
if (!defined('TAB_CASENOTES')) define('TAB_CASENOTES', true);
if (!defined('TAB_CALLLIST')) define('TAB_CALLLIST', true);
if (!defined('TAB_SHIFTS')) define('TAB_SHIFTS', true);
if (!defined('TAB_APPOINTMENTLIST')) define('TAB_APPOINTMENTLIST', true);
if (!defined('TAB_MYAPPOINTMENTLIST')) define('TAB_MYAPPOINTMENTLIST', true);
if (!defined('TAB_PERFORMANCE')) define('TAB_PERFORMANCE', true);
if (!defined('TAB_CALLHISTORY')) define('TAB_CALLHISTORY', true);
if (!defined('TAB_PROJECTINFO')) define('TAB_PROJECTINFO', true);
if (!defined('TAB_INFO')) define('TAB_INFO', true);
/**
* Enable a header expander for the main page to shrink/expand when not in use?
*/
if (!defined('HEADER_EXPANDER')) define('HEADER_EXPANDER', false);
/**
* Enable a header expander for the main page to shrink/expand when clicking on an arrow?
*/
if (!defined('HEADER_EXPANDER_MANUAL')) define('HEADER_EXPANDER_MANUAL', false);
/**
* Contract header at start of questionnaire
*/
if (!defined('HEADER_EXPANDER_QUESTIONNAIRE')) define('HEADER_EXPANDER_QUESTIONNAIRE', false);
/**
* Define how many minutes between each system sort (defaults to 5 as this is a common interval for appointments)
*/
if (!defined('SYSTEM_SORT_MINUTES')) define ('SYSTEM_SORT_MINUTES',5);
/**
* Allow page refreshing
*/
if (!defined('ALLOW_PAGE_REFRESH')) define ('ALLOW_PAGE_REFRESH',true);
/**
* Allow operator to select respondent from list or add respondents
*/
if (!defined('ALLOW_RESPONDENT_SELECTOR')) define ('ALLOW_RESPONDENT_SELECTOR',true);
/**
* Display a faster alternate interface where VoIP is disabled
*/
if (!defined('ALTERNATE_INTERFACE')) define ('ALTERNATE_INTERFACE',false);
/**
* Allow to choose the start part of the link for alternate interface, before phone
*/
if (!defined('ALTERNATE_INTERFACE_CALLSTARTURL')) define ('ALTERNATE_INTERFACE_CALLSTARTURL','callto:');
/**
* Allow to choose the end part of the link for alternate interface, after phone
*/
if (!defined('ALTERNATE_INTERFACE_CALLENDURL')) define ('ALTERNATE_INTERFACE_CALLENDURL','');
/**
* Allow to set some specific attributes (for example target='_blank') to call url
*/
if (!defined('ALTERNATE_INTERFACE_ATTRIBUTEURL')) define ('ALTERNATE_INTERFACE_ATTRIBUTEURL','');
/**
* Number of log records to display
*/
if (!defined('PROCESS_LOG_LIMIT')) define('PROCESS_LOG_LIMIT', 500);
/**
* Temporary upload directory
*/
if (!defined('TEMPORARY_DIRECTORY')) define('TEMPORARY_DIRECTORY', "/tmp");
/**
* Database configuration for queXS
*/
if (!defined('DB_USER')) define('DB_USER', 'quexs');
if (!defined('DB_PASS')) define('DB_PASS', 'quexs');
if (!defined('DB_HOST')) define('DB_HOST', 'localhost');
if (!defined('DB_NAME')) define('DB_NAME', 'quexs');
if (!defined('DB_TYPE')) define('DB_TYPE', 'mysqli');
/**
* The prefix for the limesurvey database
*/
if (!defined('LIME_PREFIX')) define('LIME_PREFIX','lime_');
/**
* Limesurvey database information (default is same as queXS database)
*/
if (!defined('LDB_USER')) define('LDB_USER', DB_USER);
if (!defined('LDB_PASS')) define('LDB_PASS', DB_PASS);
if (!defined('LDB_HOST')) define('LDB_HOST', DB_HOST);
if (!defined('LDB_NAME')) define('LDB_NAME', DB_NAME);
if (!defined('LDB_TYPE')) define('LDB_TYPE', DB_TYPE);
if (!defined('COMPANY_NAME')) define ('COMPANY_NAME', 'queXS ');
if (!defined('ADMIN_PANEL_NAME')) define ('ADMIN_PANEL_NAME',' Administration Panel');
/**
* Session name
* - If changed must also be changed in the lime_settings_global table
*/
if (!defined('LS_SESSION_NAME')) define ('LS_SESSION_NAME', 'ls28629164789259281352');
/**
* Debugging
*/
if (!defined('DEBUG')) define('DEBUG',false);
?>