-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.php
executable file
·240 lines (194 loc) · 7.58 KB
/
config.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
<?php
/*
* CATS
* Configuration File
*
* Copyright (C) 2005 - 2007 Cognizo Technologies, Inc.
*
*
* The contents of this file are subject to the CATS Public License
* Version 1.1a (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.catsone.com/.
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is "CATS Standard Edition".
*
* The Initial Developer of the Original Code is Cognizo Technologies, Inc.
* Portions created by the Initial Developer are Copyright (C) 2005 - 2007
* (or from the year in which this file was created to the year 2007) by
* Cognizo Technologies, Inc. All Rights Reserved.
*
*
* $Id: config.php 3826 2007-12-10 06:03:18Z will $
*/
/* License key. */
define('LICENSE_KEY','3163GQ-54ISGW-14E4SHD-ES9ICL-X02DTG-GYRSQ6');
/* Database configuration. */
define('DATABASE_USER', 'root');
define('DATABASE_PASS', '1q2w3e4r');
define('DATABASE_HOST', '127.0.0.1');
define('DATABASE_NAME', 'opencats');
/* Resfly.com Resume Import Services Enabled */
define('PARSING_ENABLED', true);
/* If you have an SSL compatible server, you can enable SSL for all of CATS. */
define('SSL_ENABLED', false);
/* Text parser settings. Remember to use double backslashes (\) to represent
* one backslash (\). On Windows, installing in C:\antiword\ is
* recomended, in which case you should set ANTIWORD_PATH (below) to
* 'C:\\antiword\\antiword.exe'. Windows Antiword will have problems locating
* mapping files if you install it anywhere but C:\antiword\.
*/
define('ANTIWORD_PATH', "");
define('ANTIWORD_MAP', '8859-1.txt');
/* XPDF / pdftotext settings. Remember to use double backslashes (\) to represent
* one backslash (\).
* http://www.foolabs.com/xpdf/
*/
define('PDFTOTEXT_PATH', "/usr/local/bin/pdftotext");
/* html2text settings. Remember to use double backslashes (\) to represent
* one backslash (\). 'html2text' can be found at:
* http://www.mbayer.de/html2text/
*/
define('HTML2TEXT_PATH', "/usr/local/bin/html2text");
/* UnRTF settings. Remember to use double backslashes (\) to represent
* one backslash (\). 'unrtf' can be found at:
* http://www.gnu.org/software/unrtf/unrtf.html
*/
define('UNRTF_PATH', "/usr/local/bin/unrtf");
/* Temporary directory. Set this to a directory that is writable by the
* web server. The default should be fine for most systems. Remember to
* use double backslashes (\) to represent one backslash (\) on Windows.
*/
define('CATS_TEMP_DIR', './temp');
/* If User Details and Login Activity pages in the settings module are
* unbearably slow, set this to false.
*/
define('ENABLE_HOSTNAME_LOOKUP', false);
/* CATS can optionally use Sphinx to speed up document searching.
* Install Sphinx and set ENABLE_SPHINX (below) to true to enable Sphinx.
*/
define('ENABLE_SPHINX', false);
define('SPHINX_API', './lib/sphinx/sphinxapi.php');
define('SPHINX_HOST', 'localhost');
define('SPHINX_PORT', 3312);
define('SPHINX_INDEX', 'cats catsdelta');
/* Probably no need to edit anything below this line. */
/* Pager settings. These are the number of results per page. */
define('CONTACTS_PER_PAGE', 15);
define('CANDIDATES_PER_PAGE', 15);
define('CLIENTS_PER_PAGE', 15);
define('LOGIN_ENTRIES_PER_PAGE', 15);
/* Maximum number of characters of the owner/recruiter users' last names
* to show before truncating.
*/
define('LAST_NAME_MAXLEN', 6);
/* Length of resume excerpts displayed in Search Candidates results. */
define('SEARCH_EXCERPT_LENGTH', 256);
/* Number of MRU list items. */
define('MRU_MAX_ITEMS', 5);
/* MRU item length. Truncate the rest */
define('MRU_ITEM_LENGTH', 20);
/* Number of recent search items. */
define('RECENT_SEARCH_MAX_ITEMS', 5);
/* HTML Encoding. */
define('HTML_ENCODING', 'UTF-8');
/* AJAX Encoding. */
define('AJAX_ENCODING', 'UTF-8');
/* Path to modules. */
define('MODULES_PATH', './modules/');
/* Unique session name. The only reason you might want to modify this is
* for multiple CATS installations on one server. A-Z, 0-9 only! */
define('CATS_SESSION_NAME', 'CATS');
/* Subject line of e-mails sent to candidates via the career portal when they
* apply for a job order.
*/
define('CAREERS_CANDIDATEAPPLY_SUBJECT', 'Thank You for Your Application');
/* Subject line of e-mails sent to job order owners via the career portal when
* they apply for a job order.
*/
define('CAREERS_OWNERAPPLY_SUBJECT', 'CATS - A Candidate Has Applied to Your Job Order');
/* Subject line of e-mails sent to candidates when their status changes for a
* job order.
*/
define('CANDIDATE_STATUSCHANGE_SUBJECT', 'Job Application Status Change');
/* Password request settings.
*
* In FORGOT_PASSWORD_FROM, %s is the placeholder for the password.
*/
define('FORGOT_PASSWORD_FROM_NAME', 'CATS');
define('FORGOT_PASSWORD_SUBJECT', 'CATS - Password Retrieval Request');
define('FORGOT_PASSWORD_BODY', 'You recently requested that your CATS: Applicant Tracking System password be sent to you. Your current password is %s.');
/* Is this a demo site? */
define('ENABLE_DEMO_MODE', false);
/* Offset to GMT Time. */
define('OFFSET_GMT', 8);
/* Should we enforce only one session per user (excluding demo)? */
define('ENABLE_SINGLE_SESSION', false);
/* Automated testing. This is only useful for the CATS core team at the moment;
* don't worry about this yet.
*/
define('TESTER_LOGIN', 'john@mycompany.net');
define('TESTER_PASSWORD', 'john99');
define('TESTER_FIRSTNAME', 'John');
define('TESTER_LASTNAME', 'Anderson');
define('TESTER_FULLNAME', 'John Anderson');
define('TESTER_USER_ID', 4);
/* Demo login. */
define('DEMO_LOGIN', 'john@mycompany.net');
define('DEMO_PASSWORD', 'john99');
/* This setting configures the method used to send e-mail from CATS. CATS
* can send e-mail via SMTP, PHP's built-in mail support, or via Sendmail.
* 0 is recomended for Windows.
*
* 0: Disabled
* 1: PHP Built-In Mail Support
* 2: Sendmail
* 3: SMTP
*/
define('MAIL_MAILER', 1);
/* Sendmail Settings. You don't need to worry about this unless MAIL_MAILER
* is set to 1.
*/
define('MAIL_SENDMAIL_PATH', "/usr/sbin/sendmail");
/* SMTP Settings. You don't need to worry about this unless MAIL_MAILER is
* set to 3. If your server requires authentication, set MAIL_SMTP_AUTH to
* true and configure MAIL_SMTP_USER and MAIL_SMTP_PASS.
*/
define('MAIL_SMTP_HOST', "localhost");
define('MAIL_SMTP_PORT', 25);
define('MAIL_SMTP_AUTH', false);
define('MAIL_SMTP_USER', "user");
define('MAIL_SMTP_PASS', "password");
/* Event reminder E-Mail Template. */
$GLOBALS['eventReminderEmail'] = <<<EOF
%FULLNAME%,
This is a reminder from the CATS Applicant Tracking System about an
upcoming event.
'%EVENTNAME%'
Is scheduled to occur %DUETIME%.
Description:
%NOTES%
--
CATS Applicant Tracking System
EOF;
/* Enable replication slave mode? This is probably only useful for the CATS
* core team. If this setting is enabled, no writing to the database will
* occur, and only ROOT users can login.
*/
define('CATS_SLAVE', false);
/* If enabled, CATS only scans the modules folder once and stores the results
* in modules.cache. When enabled, a performance boost is obtained, but
* any changes to hooks, schemas, or what modules are installed will require
* modules.cache to be deleted before they take effect.
*/
define('CACHE_MODULES', false);
/* If enabled, the US zipcode database is installed and the user can filter
* by distance from a zipcode.
*/
define('US_ZIPS_ENABLED', true);
?>