|
1 | | -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
| 1 | +<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
2 | 2 |
|
3 | 3 | /* |
4 | 4 | |-------------------------------------------------------------------------- |
|
34 | 34 | |-------------------------------------------------------------------------- |
35 | 35 | | |
36 | 36 | | This item determines which server global should be used to retrieve the |
37 | | -| URI string. The default setting of 'AUTO' works for most servers. |
| 37 | +| URI string. The default setting of 'AUTO' works for most servers. |
38 | 38 | | If your links do not seem to work, try one of the other delicious flavors: |
39 | 39 | | |
40 | 40 | | 'AUTO' Default - auto detects |
|
88 | 88 | |-------------------------------------------------------------------------- |
89 | 89 | | |
90 | 90 | | If you would like to use the 'hooks' feature you must enable it by |
91 | | -| setting this variable to TRUE (boolean). See the user guide for details. |
| 91 | +| setting this variable to TRUE (boolean). See the user guide for details. |
92 | 92 | | |
93 | 93 | */ |
94 | 94 | $config['enable_hooks'] = FALSE; |
|
100 | 100 | |-------------------------------------------------------------------------- |
101 | 101 | | |
102 | 102 | | This item allows you to set the filename/classname prefix when extending |
103 | | -| native libraries. For more information please see the user guide: |
| 103 | +| native libraries. For more information please see the user guide: |
104 | 104 | | |
105 | 105 | | http://codeigniter.com/user_guide/general/core_classes.html |
106 | 106 | | http://codeigniter.com/user_guide/general/creating_libraries.html |
|
115 | 115 | |-------------------------------------------------------------------------- |
116 | 116 | | |
117 | 117 | | This lets you specify with a regular expression which characters are permitted |
118 | | -| within your URLs. When someone tries to submit a URL with disallowed |
| 118 | +| within your URLs. When someone tries to submit a URL with disallowed |
119 | 119 | | characters they will get a warning message. |
120 | 120 | | |
121 | 121 | | As a security measure you are STRONGLY encouraged to restrict URLs to |
122 | | -| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_- |
| 122 | +| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_- |
123 | 123 | | |
124 | 124 | | Leave blank to allow all characters -- but only if you are insane. |
125 | 125 | | |
|
137 | 137 | | By default CodeIgniter uses search-engine friendly segment based URLs: |
138 | 138 | | example.com/who/what/where/ |
139 | 139 | | |
140 | | -| By default CodeIgniter enables access to the $_GET array. If for some |
| 140 | +| By default CodeIgniter enables access to the $_GET array. If for some |
141 | 141 | | reason you would like to disable it, set 'allow_get_array' to FALSE. |
142 | 142 | | |
143 | 143 | | You can optionally enable standard query string based URLs: |
|
210 | 210 | |-------------------------------------------------------------------------- |
211 | 211 | | |
212 | 212 | | Leave this BLANK unless you would like to set something other than the default |
213 | | -| system/cache/ folder. Use a full server path with trailing slash. |
| 213 | +| system/cache/ folder. Use a full server path with trailing slash. |
214 | 214 | | |
215 | 215 | */ |
216 | 216 | $config['cache_path'] = ''; |
|
221 | 221 | |-------------------------------------------------------------------------- |
222 | 222 | | |
223 | 223 | | If you use the Encryption class or the Session class you |
224 | | -| MUST set an encryption key. See the user guide for info. |
| 224 | +| MUST set an encryption key. See the user guide for info. |
225 | 225 | | |
226 | 226 | */ |
227 | 227 | $config['encryption_key'] = ''; |
|
233 | 233 | | |
234 | 234 | | 'sess_cookie_name' = the name you want for the cookie |
235 | 235 | | 'sess_expiration' = the number of SECONDS you want the session to last. |
236 | | -| by default sessions last 7200 seconds (two hours). Set to zero for no expiration. |
| 236 | +| by default sessions last 7200 seconds (two hours). Set to zero for no expiration. |
237 | 237 | | 'sess_expire_on_close' = Whether to cause the session to expire automatically |
238 | | -| when the browser window is closed |
| 238 | +| when the browser window is closed |
239 | 239 | | 'sess_encrypt_cookie' = Whether to encrypt the cookie |
240 | 240 | | 'sess_use_database' = Whether to save the session data to a database |
241 | 241 | | 'sess_table_name' = The name of the session database table |
|
261 | 261 | | |
262 | 262 | | 'cookie_prefix' = Set a prefix if you need to avoid collisions |
263 | 263 | | 'cookie_domain' = Set to .your-domain.com for site-wide cookies |
264 | | -| 'cookie_path' = Typically will be a forward slash |
265 | | -| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists. |
| 264 | +| 'cookie_path' = Typically will be a forward slash |
| 265 | +| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists. |
266 | 266 | | |
267 | 267 | */ |
268 | 268 | $config['cookie_prefix'] = ""; |
|
303 | 303 | | Output Compression |
304 | 304 | |-------------------------------------------------------------------------- |
305 | 305 | | |
306 | | -| Enables Gzip output compression for faster page loads. When enabled, |
| 306 | +| Enables Gzip output compression for faster page loads. When enabled, |
307 | 307 | | the output class will test whether your server supports Gzip. |
308 | 308 | | Even if it does, however, not all browsers support compression |
309 | 309 | | so enable only if you are reasonably sure your visitors can handle it. |
310 | 310 | | |
311 | | -| VERY IMPORTANT: If you are getting a blank page when compression is enabled it |
| 311 | +| VERY IMPORTANT: If you are getting a blank page when compression is enabled it |
312 | 312 | | means you are prematurely outputting something to your browser. It could |
313 | | -| even be a line of whitespace at the end of one of your scripts. For |
| 313 | +| even be a line of whitespace at the end of one of your scripts. For |
314 | 314 | | compression to work, nothing can be sent before the output buffer is called |
315 | | -| by the output class. Do not 'echo' any values with compression enabled. |
| 315 | +| by the output class. Do not 'echo' any values with compression enabled. |
316 | 316 | | |
317 | 317 | */ |
318 | 318 | $config['compress_output'] = FALSE; |
|
322 | 322 | | Master Time Reference |
323 | 323 | |-------------------------------------------------------------------------- |
324 | 324 | | |
325 | | -| Options are 'local' or 'gmt'. This pref tells the system whether to use |
| 325 | +| Options are 'local' or 'gmt'. This pref tells the system whether to use |
326 | 326 | | your server's local time as the master 'now' reference, or convert it to |
327 | | -| GMT. See the 'date helper' page of the user guide for information |
| 327 | +| GMT. See the 'date helper' page of the user guide for information |
328 | 328 | | regarding date handling. |
329 | 329 | | |
330 | 330 | */ |
|
338 | 338 | | |
339 | 339 | | If your PHP installation does not have short tag support enabled CI |
340 | 340 | | can rewrite the tags on-the-fly, enabling you to utilize that syntax |
341 | | -| in your view files. Options are TRUE or FALSE (boolean) |
| 341 | +| in your view files. Options are TRUE or FALSE (boolean) |
342 | 342 | | |
343 | 343 | */ |
344 | 344 | $config['rewrite_short_tags'] = FALSE; |
|
0 commit comments