enable codeigniter workaround for short tags
[www-register-wizard.git] / application / config / config.php
1 <?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2
3 include_once 'plc_config.php';
4 /*
5 |--------------------------------------------------------------------------
6 | Base Site URL
7 |--------------------------------------------------------------------------
8 |
9 | URL to your CodeIgniter root. Typically this will be your base URL,
10 | WITH a trailing slash:
11 |
12 |       http://example.com/
13 |
14 */
15 $config['base_url']     = "https://". PLC_WWW_HOST . ":" . PLC_WWW_SSL_PORT ."/registerwizard/";
16
17 /*
18 |--------------------------------------------------------------------------
19 | Index File
20 |--------------------------------------------------------------------------
21 |
22 | Typically this will be your index.php file, unless you've renamed it to
23 | something else. If you are using mod_rewrite to remove the page set this
24 | variable so that it is blank.
25 |
26 */
27 $config['index_page'] = "index.php";
28
29 /*
30 |--------------------------------------------------------------------------
31 | URI PROTOCOL
32 |--------------------------------------------------------------------------
33 |
34 | This item determines which server global should be used to retrieve the
35 | URI string.  The default setting of "AUTO" works for most servers.
36 | If your links do not seem to work, try one of the other delicious flavors:
37 |
38 | 'AUTO'                        Default - auto detects
39 | 'PATH_INFO'           Uses the PATH_INFO
40 | 'QUERY_STRING'        Uses the QUERY_STRING
41 | 'REQUEST_URI'         Uses the REQUEST_URI
42 | 'ORIG_PATH_INFO'      Uses the ORIG_PATH_INFO
43 |
44 */
45 $config['uri_protocol'] = "AUTO";
46
47 /*
48 |--------------------------------------------------------------------------
49 | URL suffix
50 |--------------------------------------------------------------------------
51 |
52 | This option allows you to add a suffix to all URLs generated by CodeIgniter.
53 | For more information please see the user guide:
54 |
55 | http://codeigniter.com/user_guide/general/urls.html
56 */
57
58 $config['url_suffix'] = "";
59
60 /*
61 |--------------------------------------------------------------------------
62 | Default Language
63 |--------------------------------------------------------------------------
64 |
65 | This determines which set of language files should be used. Make sure
66 | there is an available translation if you intend to use something other
67 | than english.
68 |
69 */
70 $config['language']     = "english";
71
72 /*
73 |--------------------------------------------------------------------------
74 | Default Character Set
75 |--------------------------------------------------------------------------
76 |
77 | This determines which character set is used by default in various methods
78 | that require a character set to be provided.
79 |
80 */
81 $config['charset'] = "UTF-8";
82
83 /*
84 |--------------------------------------------------------------------------
85 | Enable/Disable System Hooks
86 |--------------------------------------------------------------------------
87 |
88 | If you would like to use the "hooks" feature you must enable it by
89 | setting this variable to TRUE (boolean).  See the user guide for details.
90 |
91 */
92 $config['enable_hooks'] = FALSE;
93
94
95 /*
96 |--------------------------------------------------------------------------
97 | Class Extension Prefix
98 |--------------------------------------------------------------------------
99 |
100 | This item allows you to set the filename/classname prefix when extending
101 | native libraries.  For more information please see the user guide:
102 |
103 | http://codeigniter.com/user_guide/general/core_classes.html
104 | http://codeigniter.com/user_guide/general/creating_libraries.html
105 |
106 */
107 $config['subclass_prefix'] = 'MY_';
108
109
110 /*
111 |--------------------------------------------------------------------------
112 | Allowed URL Characters
113 |--------------------------------------------------------------------------
114 |
115 | This lets you specify with a regular expression which characters are permitted
116 | within your URLs.  When someone tries to submit a URL with disallowed
117 | characters they will get a warning message.
118 |
119 | As a security measure you are STRONGLY encouraged to restrict URLs to
120 | as few characters as possible.  By default only these are allowed: a-z 0-9~%.:_-
121 |
122 | Leave blank to allow all characters -- but only if you are insane.
123 |
124 | DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
125 |
126 */
127 $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
128
129
130 /*
131 |--------------------------------------------------------------------------
132 | Enable Query Strings
133 |--------------------------------------------------------------------------
134 |
135 | By default CodeIgniter uses search-engine friendly segment based URLs:
136 | example.com/who/what/where/
137 |
138 | You can optionally enable standard query string based URLs:
139 | example.com?who=me&what=something&where=here
140 |
141 | Options are: TRUE or FALSE (boolean)
142 |
143 | The other items let you set the query string "words" that will
144 | invoke your controllers and its functions:
145 | example.com/index.php?c=controller&m=function
146 |
147 | Please note that some of the helpers won't work as expected when
148 | this feature is enabled, since CodeIgniter is designed primarily to
149 | use segment based URLs.
150 |
151 */
152 $config['enable_query_strings'] = FALSE;
153 $config['controller_trigger']   = 'c';
154 $config['function_trigger']     = 'm';
155 $config['directory_trigger']    = 'd'; // experimental not currently in use
156
157 /*
158 |--------------------------------------------------------------------------
159 | Error Logging Threshold
160 |--------------------------------------------------------------------------
161 |
162 | If you have enabled error logging, you can set an error threshold to 
163 | determine what gets logged. Threshold options are:
164 | You can enable error logging by setting a threshold over zero. The
165 | threshold determines what gets logged. Threshold options are:
166 |
167 |       0 = Disables logging, Error logging TURNED OFF
168 |       1 = Error Messages (including PHP errors)
169 |       2 = Debug Messages
170 |       3 = Informational Messages
171 |       4 = All Messages
172 |
173 | For a live site you'll usually only enable Errors (1) to be logged otherwise
174 | your log files will fill up very fast.
175 |
176 */
177 $config['log_threshold'] = 0;
178
179 /*
180 |--------------------------------------------------------------------------
181 | Error Logging Directory Path
182 |--------------------------------------------------------------------------
183 |
184 | Leave this BLANK unless you would like to set something other than the default
185 | system/logs/ folder.  Use a full server path with trailing slash.
186 |
187 */
188 $config['log_path'] = '';
189
190 /*
191 |--------------------------------------------------------------------------
192 | Date Format for Logs
193 |--------------------------------------------------------------------------
194 |
195 | Each item that is logged has an associated date. You can use PHP date
196 | codes to set your own date formatting
197 |
198 */
199 $config['log_date_format'] = 'Y-m-d H:i:s';
200
201 /*
202 |--------------------------------------------------------------------------
203 | Cache Directory Path
204 |--------------------------------------------------------------------------
205 |
206 | Leave this BLANK unless you would like to set something other than the default
207 | system/cache/ folder.  Use a full server path with trailing slash.
208 |
209 */
210 $config['cache_path'] = '';
211
212 /*
213 |--------------------------------------------------------------------------
214 | Encryption Key
215 |--------------------------------------------------------------------------
216 |
217 | If you use the Encryption class or the Sessions class with encryption
218 | enabled you MUST set an encryption key.  See the user guide for info.
219 |
220 */
221 $config['encryption_key'] = "";
222
223 /*
224 |--------------------------------------------------------------------------
225 | Session Variables
226 |--------------------------------------------------------------------------
227 |
228 | 'session_cookie_name' = the name you want for the cookie
229 | 'encrypt_sess_cookie' = TRUE/FALSE (boolean).  Whether to encrypt the cookie
230 | 'session_expiration'  = the number of SECONDS you want the session to last.
231 |  by default sessions last 7200 seconds (two hours).  Set to zero for no expiration.
232 | 'time_to_update'              = how many seconds between CI refreshing Session Information
233 |
234 */
235 $config['sess_cookie_name']             = 'ci_session';
236 $config['sess_expiration']              = 7200;
237 $config['sess_encrypt_cookie']  = FALSE;
238 $config['sess_use_database']    = FALSE;
239 $config['sess_table_name']              = 'ci_sessions';
240 $config['sess_match_ip']                = FALSE;
241 $config['sess_match_useragent'] = TRUE;
242 $config['sess_time_to_update']  = 300;
243
244 /*
245 |--------------------------------------------------------------------------
246 | Cookie Related Variables
247 |--------------------------------------------------------------------------
248 |
249 | 'cookie_prefix' = Set a prefix if you need to avoid collisions
250 | 'cookie_domain' = Set to .your-domain.com for site-wide cookies
251 | 'cookie_path'   =  Typically will be a forward slash
252 |
253 */
254 $config['cookie_prefix']        = "";
255 $config['cookie_domain']        = "";
256 $config['cookie_path']          = "/";
257
258 /*
259 |--------------------------------------------------------------------------
260 | Global XSS Filtering
261 |--------------------------------------------------------------------------
262 |
263 | Determines whether the XSS filter is always active when GET, POST or
264 | COOKIE data is encountered
265 |
266 */
267 $config['global_xss_filtering'] = FALSE;
268
269 /*
270 |--------------------------------------------------------------------------
271 | Output Compression
272 |--------------------------------------------------------------------------
273 |
274 | Enables Gzip output compression for faster page loads.  When enabled,
275 | the output class will test whether your server supports Gzip.
276 | Even if it does, however, not all browsers support compression
277 | so enable only if you are reasonably sure your visitors can handle it.
278 |
279 | VERY IMPORTANT:  If you are getting a blank page when compression is enabled it
280 | means you are prematurely outputting something to your browser. It could
281 | even be a line of whitespace at the end of one of your scripts.  For
282 | compression to work, nothing can be sent before the output buffer is called
283 | by the output class.  Do not "echo" any values with compression enabled.
284 |
285 */
286 $config['compress_output'] = FALSE;
287
288 /*
289 |--------------------------------------------------------------------------
290 | Master Time Reference
291 |--------------------------------------------------------------------------
292 |
293 | Options are "local" or "gmt".  This pref tells the system whether to use
294 | your server's local time as the master "now" reference, or convert it to
295 | GMT.  See the "date helper" page of the user guide for information
296 | regarding date handling.
297 |
298 */
299 $config['time_reference'] = 'local';
300
301
302 /*
303 |--------------------------------------------------------------------------
304 | Rewrite PHP Short Tags
305 |--------------------------------------------------------------------------
306 |
307 | If your PHP installation does not have short tag support enabled CI
308 | can rewrite the tags on-the-fly, enabling you to utilize that syntax
309 | in your view files.  Options are TRUE or FALSE (boolean)
310 |
311 */
312 $config['rewrite_short_tags'] = TRUE;
313
314
315 /*
316 |--------------------------------------------------------------------------
317 | Reverse Proxy IPs
318 |--------------------------------------------------------------------------
319 |
320 | If your server is behind a reverse proxy, you must whitelist the proxy IP
321 | addresses from which CodeIgniter should trust the HTTP_X_FORWARDED_FOR
322 | header in order to properly identify the visitor's IP address.
323 | Comma-delimited, e.g. '10.0.1.200,10.0.1.201'
324 |
325 */
326 $config['proxy_ips'] = '';
327
328
329 /* End of file config.php */
330 /* Location: ./system/application/config/config.php */