-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.php
220 lines (154 loc) · 6.7 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
<?php
//---------------------------------------------------------------------------//
//
// SUPPORT AVAILABLE AT: http://www.realtyscript.com
//
//---------------------------------------------------------------------------//
//----------------------------------------------------------------------------
// DEBUG
//
// FOR TROUBLESHOOTING INSTALLATION PROBLEMS
//
// NOTE: IF YOU NEED TO SEE ERRORS, YOU CAN ENABLE THEM BY SETTING THIS TO TRUE INSTEAD OF FALSE.
define( 'DEGUB', false );
if ( 'DEBUG' == true )
{
error_reporting( E_ALL & ~E_STRICT & ~E_NOTICE );
ini_set( 'display_errors', true );
}
else
{
error_reporting(0);
ini_set( 'display_errors', false );
}
//----------------------------------------------------------------------------
// DEMO
//
// FOR DISABLING SENSITIVE ASPECTS OF THE SOFTWARE FOR DEMO PURPOSES
define( 'DEMO', false );
//----------------------------------------------------------------------------
// LICENSE KEY
//
// NOTE: PLEASE MAKE SURE LICENSE KEY DOES NOT HAVE SPACES, LINE BREAKS, ETC.
define( 'LICENSE', '{LICENSE}' );
//----------------------------------------------------------------------------
// COPYRIGHT LICENSE KEY
//
// NOTE: PLEASE MAKE SURE LICENSE KEY DOES NOT HAVE SPACES, LINE BREAKS, ETC.
define( 'COPYRIGHT_LICENSE', '' );
//----------------------------------------------------------------------------
// URL & MEDIA_URL
//
// NOTE: YOUR URL SHOULD BE IN THE FORMAT http://www.domain.com UNLESS YOU ARE
// USING A SUB DOMAIN. THE http://www. is required. Please see examples.
//
// CORRECT: http://www.domain.com
// CORRECT: http://realestate.domain.com
// CORRECT: http://www.domain.com/realestate (if you are installing it in 'realestate' directory
// INCORRECT: http://domain.com
// INCORRECT: http://www.domain.com/ (no trailing slash)
//
// The MEDIA_URL is simply where the images are stored (useful for CDN providers, etc.)
define( 'URL' , 'http://rs2018.local' );
define( 'MEDIA_URL' , 'http://rs2018.local/media' );
//----------------------------------------------------------------------------
// MYSQL DATABASE INFORMATION
//
// PLEASE ENTER IN YOUR DATABASE INFORMATION BELOW.
// YOUR WEB HOSTING PROVIDER WILL BE ABLE TO ASSIST YOU WITH THIS.
define( 'DB_NAME', 'rs2018.local' ); // Name of the MySQL database
define( 'DB_USERNAME', 'root' ); // Username that has access to this DB
define( 'DB_PASSWORD', 'root' ); // Password for the username that has access to this DB
// You shouldn't have to modify these, unless your server uses a specific host (e.g., mysql.domain.com)
define( 'DB_HOST', 'localhost' ); // Database host - normally, this is 'localhost'
define( 'DB_TYPE', 'mysql' ); // Database type - leave set to 'mysql'
//----------------------------------------------------------------------------
// PATH TO YOUR DIRECTORY / MEDIA DIRECTORY
//
// NORMALLY, YOU WILL NOT NEED TO CHANGE THIS. HOWEVER, IF YOU ARE RECEIVING NOT FOUND
// ERRORS, PLEASE LOOK AT THE EXAMPLES AND ENTER THIS IN MANUALLY.
//
// PLEASE NOTE, THESE ARE ONLY EXAMPLES. YOUR PATH WILL BE DIFFERENT.
//
// CORRECT: define('PATH', '/home/username/public_html');
// CORRECT: define('PATH', '/home/username/www/domain.com');
// INCORRECT: define('PATH', '/home/username/public_html/'); (the trailing / should not be there)
define( 'PATH', '/Users/lanecampbell/Dev-Local/excida/excida' );
define( 'MEDIA_PATH', '/Users/lanecampbell/Dev-Local/excida/excida/media' );
// THAT'S IT! PLEASE LOAD YOUR WEB SITE TO CONTINUE THE INSTALLATION PROCESS!
//---------------------------------------------------------------------------//
//
//
// OPTIONAL ADVANCED SETTINGS BELOW
//
//
//---------------------------------------------------------------------------//
//----------------------------------------------------------------------------
// PHPMAILER CLASS SETTINGS
//
// NORMALLY, YOU WILL NOT NEED TO CHANGE THIS. HOWEVER, IF YOU ARE HAVING PROBLEMS
// SENDING OUT E-MAILS WITH YOUR WEB SITE, YOU MAY WANT TO TRY MODIFYING THIS.
//
// NOTE: ONLY YOUR WEB HOSTING PROVIDER CAN TELL YOU WHAT SMTP SETTINGS TO USE!
//
// 1 - standard mail() function (default)
// 2 - sendmail
// 3 - SMTP or Gmail
define( 'PHPMAILER', 1 );
// If you are using option '3', you must enter in the following:
$smtp['host'] = ''; // SMTP server host name
$smtp['login'] = ''; // SMTP server login
$smtp['password'] = ''; // SMTP server password
//----------------------------------------------------------------------------
// ADMINISTRATION PANEL IP RESTRICTION
//
// NORMALLY, YOU WILL NOT NEED TO CHANGE THIS. HOWEVER, IF YOU WISH TO PROTECT
// YOUR ADMINISTRATION PANEL BY RESTRICTING IP ADDRESS ACCESS, DO SO HERE.
//
// Leave empty to allow all IPs, delimit IPs with ;
//
// CORRECT: $admin_ip = '127.0.0.1';
// CORRECT: $admin_ip = '127.0.0.1;192.168.0.1';
// CORRECT: $admin_ip = '127.0.0.*;192.168.*';
// CORRECT: $admin_ip = 'XX.XX.*';
// INCORRECT: $admin_ip = 'XX.XX.*.*';
$admin_ip = '';
//----------------------------------------------------------------------------
// DATABASE TABLE PREFIX
//
// Useful if you want to have more than one PMR installation running inside
// the same database.
//
define( 'TABLE_PREFIX', 'rs_' );
// Please, do not edit code below.
define( 'CONFIGURATION_TABLE', TABLE_PREFIX . 'configuration');
define( 'USERS_TABLE', TABLE_PREFIX . 'users');
define( 'PROPERTIES_TABLE', TABLE_PREFIX . 'listings');
define( 'LOCATIONS_TABLE', TABLE_PREFIX . 'locations');
define( 'TYPES_TABLE', TABLE_PREFIX . 'types');
define( 'TYPES2_TABLE', TABLE_PREFIX . 'types2');
define( 'STYLES_TABLE', TABLE_PREFIX . 'styles');
define( 'GALLERY_TABLE', TABLE_PREFIX . 'gallery');
define( 'BUILDINGS_TABLE', TABLE_PREFIX . 'buildings');
define( 'APPLIANCES_TABLE', TABLE_PREFIX . 'appliances');
define( 'FEATURES_TABLE', TABLE_PREFIX . 'features');
define( 'BASEMENT_TABLE', TABLE_PREFIX . 'basement');
define( 'GARAGE_TABLE', TABLE_PREFIX . 'garage');
define( 'ADMINS_TABLE', TABLE_PREFIX . 'admins');
define( 'PRIVILEGES_TABLE', TABLE_PREFIX . 'privileges');
define( 'RATINGS_TABLE', TABLE_PREFIX . 'ratings');
define( 'FEATURED_TABLE', TABLE_PREFIX . 'featured');
define( 'FEATURED_AGENTS_TABLE', TABLE_PREFIX . 'featured_agents');
define( 'PACKAGES_TABLE', TABLE_PREFIX . 'packages');
define( 'PACKAGES_AGENT_TABLE', TABLE_PREFIX . 'packages_agents');
define( 'ONLINE_TABLE', TABLE_PREFIX . 'online');
define( 'CRON_TABLE', TABLE_PREFIX . 'cron');
define( 'BANS_TABLE', TABLE_PREFIX . 'ban');
define( 'ALERTS_TABLE', TABLE_PREFIX . 'alerts');
define( 'PAGES_TABLE', TABLE_PREFIX . 'pages');
define( 'ZIP_TABLE', TABLE_PREFIX . 'zip');
define( 'STATUS_TABLE', TABLE_PREFIX . 'status');
define( 'FIELDS_TABLE', TABLE_PREFIX . 'fields');
define( 'VALUES_TABLE', TABLE_PREFIX . 'values');
include 'version.php';
?>