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
|
<?php
/* Copyright Deakin University 2007,2008
* Written by Adam Zammit - adam.zammit@deakin.edu.au
* For the Deakin Computer Assisted Research Facility: http://www.deakin.edu.au/dcarf/
*
* This file is part of queXF
*
* queXF 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.
*
* queXF 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 queXF; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
/* CONFIGURATION FILE */
/* See the file: config.default.php for more configuration directives
*
* If there is a directive that you wish to change, DO NOT modify it on config.default.php
*
* Copy the define part of the directive to this file and edit it here.
*
*/
define('DB_USER','root');
define('DB_PASS','example');
define('DB_HOST','mysql');
define('DB_NAME','quexf');
define('DB_SSL',null);
define('ADODB_DIR', '/usr/share/php/adodb/');
define('BLANK_PAGE_DETECTION', true);
define('PROCESS_MISSING_PAGES',true);
//REQUIRED: Ghostscript binary
define('GS_BIN', "/usr/bin/gs");
define('DEBUG', false);
define('OCR_ENABLED','true');
define('IMAGES_DIRECTORY','/images/');
define('SCANS_DIRECTORY','/forms/');
//Temporary directory
define('TEMPORARY_DIRECTORY', "/tmp");
define('PROCESS_SLEEP',600);
define('HORI_WIDTH_BOX','75');
define('VERT_WIDTH_BOX','75');
define('BARCODE_TLX_PORTION','0.75');
define('BARCODE_TLY_PORTION','0');
define('BARCODE_BRX_PORTION','1');
define('BARCODE_BRY_PORTION','0.1');
define('BARCODE_TLX_PORTION2','0');
define('BARCODE_TLY_PORTION2','0.9');
define('BARCODE_BRX_PORTION2','0.25');
define('BARCODE_BRY_PORTION2','1');
define('DISPLAY_PAGE_WIDTH',800); //width of page display
define('MULTIPLE_CHOICE_MIN_FILLED','0.75');
define('MULTIPLE_CHOICE_MAX_FILLED','0.4');
define('SINGLE_CHOICE_MIN_FILLED','0.75');
define('SINGLE_CHOICE_MAX_FILLED','0.4');
define('HTPASSWD_PATH','/opt/quexf/password');
define('HTGROUP_PATH','/opt/quexf/group');
//Do not remove the following line:
include(dirname(__FILE__) . '/config.default.php');
?>
|