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