blob: f02856544e0ca24220a4cd6a9db0c344868483eb [file] [log] [blame]
darwineld8bef8a2014-02-11 20:13:22 +01001<?php
Derek Jonesf4a4bd82011-10-20 12:18:42 -05002/**
3 * CodeIgniter
4 *
Phil Sturgeon07c1ac82012-03-09 17:03:37 +00005 * An open source application development framework for PHP 5.2.4 or newer
Derek Jonesf4a4bd82011-10-20 12:18:42 -05006 *
Andrey Andreevbdb96ca2014-10-28 00:13:31 +02007 * This content is released under the MIT License (MIT)
Andrey Andreeve734b382012-03-26 13:42:36 +03008 *
Andrey Andreevbdb96ca2014-10-28 00:13:31 +02009 * Copyright (c) 2014, British Columbia Institute of Technology
Andrey Andreeve734b382012-03-26 13:42:36 +030010 *
Andrey Andreevbdb96ca2014-10-28 00:13:31 +020011 * Permission is hereby granted, free of charge, to any person obtaining a copy
12 * of this software and associated documentation files (the "Software"), to deal
13 * in the Software without restriction, including without limitation the rights
14 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15 * copies of the Software, and to permit persons to whom the Software is
16 * furnished to do so, subject to the following conditions:
Derek Jonesf4a4bd82011-10-20 12:18:42 -050017 *
Andrey Andreevbdb96ca2014-10-28 00:13:31 +020018 * The above copyright notice and this permission notice shall be included in
19 * all copies or substantial portions of the Software.
20 *
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27 * THE SOFTWARE.
28 *
29 * @package CodeIgniter
30 * @author EllisLab Dev Team
darwinel871754a2014-02-11 17:34:57 +010031 * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/)
Andrey Andreevbdb96ca2014-10-28 00:13:31 +020032 * @copyright Copyright (c) 2014, British Columbia Institute of Technology (http://bcit.ca/)
33 * @license http://opensource.org/licenses/MIT MIT License
34 * @link http://codeigniter.com
35 * @since Version 1.0.0
Derek Jonesf4a4bd82011-10-20 12:18:42 -050036 * @filesource
37 */
darwineld8bef8a2014-02-11 20:13:22 +010038defined('BASEPATH') OR exit('No direct script access allowed');
Derek Allard2067d1a2008-11-13 22:59:24 +000039
40/*
41|--------------------------------------------------------------------------
42| Base Site URL
43|--------------------------------------------------------------------------
44|
45| URL to your CodeIgniter root. Typically this will be your base URL,
46| WITH a trailing slash:
47|
48| http://example.com/
49|
Phil Sturgeon4df8b222010-12-15 14:23:14 +000050| If this is not set then CodeIgniter will guess the protocol, domain and
51| path to your installation.
52|
Derek Allard2067d1a2008-11-13 22:59:24 +000053*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +000054$config['base_url'] = '';
Derek Allard2067d1a2008-11-13 22:59:24 +000055
56/*
57|--------------------------------------------------------------------------
58| Index File
59|--------------------------------------------------------------------------
60|
61| Typically this will be your index.php file, unless you've renamed it to
62| something else. If you are using mod_rewrite to remove the page set this
63| variable so that it is blank.
64|
65*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +000066$config['index_page'] = 'index.php';
Derek Allard2067d1a2008-11-13 22:59:24 +000067
68/*
69|--------------------------------------------------------------------------
70| URI PROTOCOL
71|--------------------------------------------------------------------------
72|
73| This item determines which server global should be used to retrieve the
Derek Jones4b9c6292011-07-01 17:40:48 -050074| URI string. The default setting of 'AUTO' works for most servers.
Derek Allard2067d1a2008-11-13 22:59:24 +000075| If your links do not seem to work, try one of the other delicious flavors:
76|
Andrey Andreevf2b19fe2012-10-31 16:16:24 +020077| 'AUTO' Default - auto detects
78| 'CLI' or 'argv' Uses $_SERVER['argv'] (for php-cli only)
Andrey Andreevf2b19fe2012-10-31 16:16:24 +020079| 'PATH_INFO' Uses $_SERVER['PATH_INFO']
Andrey Andreev3b72eb52012-11-01 00:45:26 +020080| 'REQUEST_URI' Uses $_SERVER['REQUEST_URI']
Andrey Andreevf2b19fe2012-10-31 16:16:24 +020081| 'QUERY_STRING' Uses $_SERVER['QUERY_STRING']
Derek Allard2067d1a2008-11-13 22:59:24 +000082|
83*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +000084$config['uri_protocol'] = 'AUTO';
Derek Allard2067d1a2008-11-13 22:59:24 +000085
86/*
87|--------------------------------------------------------------------------
88| URL suffix
89|--------------------------------------------------------------------------
90|
91| This option allows you to add a suffix to all URLs generated by CodeIgniter.
92| For more information please see the user guide:
93|
94| http://codeigniter.com/user_guide/general/urls.html
95*/
96
Phil Sturgeon4df8b222010-12-15 14:23:14 +000097$config['url_suffix'] = '';
Derek Allard2067d1a2008-11-13 22:59:24 +000098
99/*
100|--------------------------------------------------------------------------
101| Default Language
102|--------------------------------------------------------------------------
103|
104| This determines which set of language files should be used. Make sure
105| there is an available translation if you intend to use something other
106| than english.
107|
108*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000109$config['language'] = 'english';
Derek Allard2067d1a2008-11-13 22:59:24 +0000110
111/*
112|--------------------------------------------------------------------------
113| Default Character Set
114|--------------------------------------------------------------------------
115|
116| This determines which character set is used by default in various methods
117| that require a character set to be provided.
118|
freewil8cc0cfe2011-08-27 21:53:00 -0400119| See http://php.net/htmlspecialchars for a list of supported charsets.
120|
Derek Allard2067d1a2008-11-13 22:59:24 +0000121*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000122$config['charset'] = 'UTF-8';
Derek Allard2067d1a2008-11-13 22:59:24 +0000123
124/*
125|--------------------------------------------------------------------------
126| Enable/Disable System Hooks
127|--------------------------------------------------------------------------
128|
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000129| If you would like to use the 'hooks' feature you must enable it by
Derek Jones4b9c6292011-07-01 17:40:48 -0500130| setting this variable to TRUE (boolean). See the user guide for details.
Derek Allard2067d1a2008-11-13 22:59:24 +0000131|
132*/
133$config['enable_hooks'] = FALSE;
134
Derek Allard2067d1a2008-11-13 22:59:24 +0000135/*
136|--------------------------------------------------------------------------
137| Class Extension Prefix
138|--------------------------------------------------------------------------
139|
140| This item allows you to set the filename/classname prefix when extending
Derek Jones4b9c6292011-07-01 17:40:48 -0500141| native libraries. For more information please see the user guide:
Derek Allard2067d1a2008-11-13 22:59:24 +0000142|
143| http://codeigniter.com/user_guide/general/core_classes.html
144| http://codeigniter.com/user_guide/general/creating_libraries.html
145|
146*/
147$config['subclass_prefix'] = 'MY_';
148
Andrey Andreeved86ee12014-07-11 19:48:37 +0300149/*
150|--------------------------------------------------------------------------
151| Composer auto-loading
152|--------------------------------------------------------------------------
153|
154| Enabling this setting will tell CodeIgniter to look for a Composer
155| package auto-loader script in application/vendor/autoload.php.
156|
157| $config['composer_autoload'] = TRUE;
158|
159| Or if you have your vendor/ directory located somewhere else, you
160| can opt to set a specific path as well:
161|
162| $config['composer_autoload'] = '/path/to/vendor/autoload.php';
163|
164| For more information about Composer, please visit http://getcomposer.org/
165|
166| Note: This will NOT disable or override the CodeIgniter-specific
167| autoloading (application/config/autoload.php)
168*/
169$config['composer_autoload'] = FALSE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000170
171/*
172|--------------------------------------------------------------------------
173| Allowed URL Characters
174|--------------------------------------------------------------------------
175|
Andrey Andreevde14aa52014-01-15 15:51:08 +0200176| This lets you specify which characters are permitted within your URLs.
177| When someone tries to submit a URL with disallowed characters they will
178| get a warning message.
Derek Allard2067d1a2008-11-13 22:59:24 +0000179|
180| As a security measure you are STRONGLY encouraged to restrict URLs to
Derek Jones4b9c6292011-07-01 17:40:48 -0500181| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
Derek Allard2067d1a2008-11-13 22:59:24 +0000182|
183| Leave blank to allow all characters -- but only if you are insane.
184|
Andrey Andreevde14aa52014-01-15 15:51:08 +0200185| The configured value is actually a regular expression character group
186| and it will be executed as: ! preg_match('/^[<permitted_uri_chars>]+$/i
187|
Derek Allard2067d1a2008-11-13 22:59:24 +0000188| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
189|
190*/
191$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
192
193
194/*
195|--------------------------------------------------------------------------
196| Enable Query Strings
197|--------------------------------------------------------------------------
198|
199| By default CodeIgniter uses search-engine friendly segment based URLs:
200| example.com/who/what/where/
201|
Derek Jones4b9c6292011-07-01 17:40:48 -0500202| By default CodeIgniter enables access to the $_GET array. If for some
Dan Horrigan65d603e2010-12-15 08:38:30 -0500203| reason you would like to disable it, set 'allow_get_array' to FALSE.
204|
Derek Allard2067d1a2008-11-13 22:59:24 +0000205| You can optionally enable standard query string based URLs:
206| example.com?who=me&what=something&where=here
207|
208| Options are: TRUE or FALSE (boolean)
209|
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000210| The other items let you set the query string 'words' that will
Derek Allard2067d1a2008-11-13 22:59:24 +0000211| invoke your controllers and its functions:
212| example.com/index.php?c=controller&m=function
213|
214| Please note that some of the helpers won't work as expected when
215| this feature is enabled, since CodeIgniter is designed primarily to
216| use segment based URLs.
217|
218*/
Phil Sturgeonc8089152010-12-27 19:06:28 +0000219$config['allow_get_array'] = TRUE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000220$config['enable_query_strings'] = FALSE;
Barry Mienydd671972010-10-04 16:33:58 +0200221$config['controller_trigger'] = 'c';
222$config['function_trigger'] = 'm';
223$config['directory_trigger'] = 'd'; // experimental not currently in use
Derek Allard2067d1a2008-11-13 22:59:24 +0000224
225/*
226|--------------------------------------------------------------------------
227| Error Logging Threshold
228|--------------------------------------------------------------------------
229|
Barry Mienydd671972010-10-04 16:33:58 +0200230| If you have enabled error logging, you can set an error threshold to
Derek Allard2067d1a2008-11-13 22:59:24 +0000231| determine what gets logged. Threshold options are:
232| You can enable error logging by setting a threshold over zero. The
233| threshold determines what gets logged. Threshold options are:
234|
235| 0 = Disables logging, Error logging TURNED OFF
236| 1 = Error Messages (including PHP errors)
237| 2 = Debug Messages
238| 3 = Informational Messages
239| 4 = All Messages
240|
Nithin333f9f92011-08-21 16:52:06 -0400241| You can also pass in a array with threshold levels to show individual error types
Iban Eguia83105952012-03-27 18:18:15 +0200242|
Nithin333f9f92011-08-21 16:52:06 -0400243| array(2) = Debug Messages, without Error Messages
244|
Derek Allard2067d1a2008-11-13 22:59:24 +0000245| For a live site you'll usually only enable Errors (1) to be logged otherwise
246| your log files will fill up very fast.
247|
248*/
249$config['log_threshold'] = 0;
250
251/*
252|--------------------------------------------------------------------------
253| Error Logging Directory Path
254|--------------------------------------------------------------------------
255|
256| Leave this BLANK unless you would like to set something other than the default
vlakoff6cf456d2014-04-14 14:38:29 +0200257| application/logs/ directory. Use a full server path with trailing slash.
Derek Allard2067d1a2008-11-13 22:59:24 +0000258|
259*/
260$config['log_path'] = '';
261
262/*
263|--------------------------------------------------------------------------
Chris Passas0bd6b282013-02-13 14:16:18 -0500264| Log File Extension
265|--------------------------------------------------------------------------
266|
Andrey Andreeva107a0f2013-02-15 22:30:31 +0200267| The default filename extension for log files. The default 'php' allows for
268| protecting the log files via basic scripting, when they are to be stored
269| under a publicly accessible directory.
270|
271| Note: Leaving it blank will default to 'php'.
Chris Passas0bd6b282013-02-13 14:16:18 -0500272|
273*/
274$config['log_file_extension'] = '';
275
276/*
277|--------------------------------------------------------------------------
Andrey Andreev45965742014-08-27 20:40:11 +0300278| Log File Permissions
279|--------------------------------------------------------------------------
280|
281| The file system permissions to be applied on newly created log files.
282|
283| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal
284| integer notation (i.e. 0700, 0644, etc.)
285*/
286$config['log_file_permissions'] = 0644;
287
288/*
289|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000290| Date Format for Logs
291|--------------------------------------------------------------------------
292|
293| Each item that is logged has an associated date. You can use PHP date
294| codes to set your own date formatting
295|
296*/
297$config['log_date_format'] = 'Y-m-d H:i:s';
298
299/*
300|--------------------------------------------------------------------------
vlakoff511a6b82014-04-14 14:33:55 +0200301| Error Views Directory Path
vlakoffcdf3dfa2014-04-12 07:33:42 +0200302|--------------------------------------------------------------------------
303|
304| Leave this BLANK unless you would like to set something other than the default
vlakoff6cf456d2014-04-14 14:38:29 +0200305| application/views/errors/ directory. Use a full server path with trailing slash.
vlakoffcdf3dfa2014-04-12 07:33:42 +0200306|
307*/
vlakoff511a6b82014-04-14 14:33:55 +0200308$config['error_views_path'] = '';
vlakoffcdf3dfa2014-04-12 07:33:42 +0200309
310/*
311|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000312| Cache Directory Path
313|--------------------------------------------------------------------------
314|
315| Leave this BLANK unless you would like to set something other than the default
vlakoff6cf456d2014-04-14 14:38:29 +0200316| application/cache/ directory. Use a full server path with trailing slash.
Derek Allard2067d1a2008-11-13 22:59:24 +0000317|
318*/
319$config['cache_path'] = '';
320
321/*
322|--------------------------------------------------------------------------
323| Encryption Key
324|--------------------------------------------------------------------------
325|
Derek Jones5485db52010-08-30 21:31:08 -0500326| If you use the Encryption class or the Session class you
Derek Jones4b9c6292011-07-01 17:40:48 -0500327| MUST set an encryption key. See the user guide for info.
Iban Eguia83105952012-03-27 18:18:15 +0200328|
Kyle Ridolfo6a33e552011-10-27 15:40:06 -0300329| http://codeigniter.com/user_guide/libraries/encryption.html
330| http://codeigniter.com/user_guide/libraries/sessions.html
Derek Allard2067d1a2008-11-13 22:59:24 +0000331|
332*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000333$config['encryption_key'] = '';
Derek Allard2067d1a2008-11-13 22:59:24 +0000334
335/*
336|--------------------------------------------------------------------------
337| Session Variables
338|--------------------------------------------------------------------------
339|
dchill42ac740ab2012-08-30 10:49:28 -0400340| 'sess_driver' = the driver to load: cookie (Classic), native (PHP sessions),
341| or your custom driver name
342| 'sess_valid_drivers' = additional valid drivers which may be loaded
brenjt02a16122013-09-14 11:10:25 -0600343| 'sess_cookie_name' = the name you want for the cookie, must contain only [0-9a-z_-] characters
Barry Mienydd671972010-10-04 16:33:58 +0200344| 'sess_expiration' = the number of SECONDS you want the session to last.
Derek Jones4b9c6292011-07-01 17:40:48 -0500345| by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
Derek Jones21ca8cc2010-09-27 08:49:29 -0500346| 'sess_expire_on_close' = Whether to cause the session to expire automatically
Derek Jones4b9c6292011-07-01 17:40:48 -0500347| when the browser window is closed
Derek Jones21ca8cc2010-09-27 08:49:29 -0500348| 'sess_encrypt_cookie' = Whether to encrypt the cookie
349| 'sess_use_database' = Whether to save the session data to a database
350| 'sess_table_name' = The name of the session database table
351| 'sess_match_ip' = Whether to match the user's IP address when reading the session data
352| 'sess_match_useragent' = Whether to match the User Agent when reading the session data
353| 'sess_time_to_update' = how many seconds between CI refreshing Session Information
Derek Allard2067d1a2008-11-13 22:59:24 +0000354|
355*/
dchill42ac740ab2012-08-30 10:49:28 -0400356$config['sess_driver'] = 'cookie';
357$config['sess_valid_drivers'] = array();
Derek Allard2067d1a2008-11-13 22:59:24 +0000358$config['sess_cookie_name'] = 'ci_session';
359$config['sess_expiration'] = 7200;
Derek Jones21ca8cc2010-09-27 08:49:29 -0500360$config['sess_expire_on_close'] = FALSE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000361$config['sess_encrypt_cookie'] = FALSE;
362$config['sess_use_database'] = FALSE;
363$config['sess_table_name'] = 'ci_sessions';
364$config['sess_match_ip'] = FALSE;
365$config['sess_match_useragent'] = TRUE;
Barry Mienydd671972010-10-04 16:33:58 +0200366$config['sess_time_to_update'] = 300;
Derek Allard2067d1a2008-11-13 22:59:24 +0000367
368/*
369|--------------------------------------------------------------------------
370| Cookie Related Variables
371|--------------------------------------------------------------------------
372|
373| 'cookie_prefix' = Set a prefix if you need to avoid collisions
374| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
Derek Jones4b9c6292011-07-01 17:40:48 -0500375| 'cookie_path' = Typically will be a forward slash
376| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
Iban Eguia83105952012-03-27 18:18:15 +0200377| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
Derek Allard2067d1a2008-11-13 22:59:24 +0000378|
379*/
Dumk0d55f7492012-07-03 11:21:45 +0300380$config['cookie_prefix'] = '';
381$config['cookie_domain'] = '';
382$config['cookie_path'] = '/';
Robin Sowelld6d9f452011-02-11 15:31:27 -0500383$config['cookie_secure'] = FALSE;
freewil4ad0fd82012-03-13 22:37:42 -0400384$config['cookie_httponly'] = FALSE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000385
386/*
387|--------------------------------------------------------------------------
Andrey Andreevbfb635b2014-01-08 18:32:05 +0200388| Standardize newlines
389|--------------------------------------------------------------------------
390|
391| Determines whether to standardize newline characters in input data,
392| meaning to replace \r\n, \r, \n occurences with the PHP_EOL value.
393|
394| This is particularly useful for portability between UNIX-based OSes,
395| (usually \n) and Windows (\r\n).
396|
397*/
Andrey Andreevaeed15e2014-04-14 16:56:23 +0300398$config['standardize_newlines'] = FALSE;
Andrey Andreevbfb635b2014-01-08 18:32:05 +0200399
400/*
401|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000402| Global XSS Filtering
403|--------------------------------------------------------------------------
404|
405| Determines whether the XSS filter is always active when GET, POST or
406| COOKIE data is encountered
407|
408*/
409$config['global_xss_filtering'] = FALSE;
410
411/*
412|--------------------------------------------------------------------------
Shane Pearson49ced912010-10-06 17:31:40 -0500413| Cross Site Request Forgery
Derek Allard958543a2010-07-22 14:10:26 -0400414|--------------------------------------------------------------------------
Shane Pearson49ced912010-10-06 17:31:40 -0500415| Enables a CSRF cookie token to be set. When set to TRUE, token will be
Derek Allard958543a2010-07-22 14:10:26 -0400416| checked on a submitted form. If you are accepting user data, it is strongly
417| recommended CSRF protection be enabled.
Eric Barnes9805ecc2011-01-16 23:35:16 -0500418|
419| 'csrf_token_name' = The token name
420| 'csrf_cookie_name' = The cookie name
421| 'csrf_expire' = The number in seconds the token should expire.
RS714b2e9fe2011-12-31 16:02:50 -0200422| 'csrf_regenerate' = Regenerate token on every submission
Alex Bilbieaeb2c3e2011-08-21 16:14:54 +0100423| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
Derek Allard958543a2010-07-22 14:10:26 -0400424*/
425$config['csrf_protection'] = FALSE;
Eric Barnes9805ecc2011-01-16 23:35:16 -0500426$config['csrf_token_name'] = 'csrf_test_name';
427$config['csrf_cookie_name'] = 'csrf_cookie_name';
428$config['csrf_expire'] = 7200;
RS714b2e9fe2011-12-31 16:02:50 -0200429$config['csrf_regenerate'] = TRUE;
Alex Bilbieaeb2c3e2011-08-21 16:14:54 +0100430$config['csrf_exclude_uris'] = array();
Derek Allard958543a2010-07-22 14:10:26 -0400431
432/*
433|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000434| Output Compression
435|--------------------------------------------------------------------------
436|
Derek Jones4b9c6292011-07-01 17:40:48 -0500437| Enables Gzip output compression for faster page loads. When enabled,
Derek Allard2067d1a2008-11-13 22:59:24 +0000438| the output class will test whether your server supports Gzip.
439| Even if it does, however, not all browsers support compression
440| so enable only if you are reasonably sure your visitors can handle it.
441|
Andrey Andreev155ee722014-01-10 15:50:54 +0200442| Only used if zlib.output_compression is turned off in your php.ini.
443| Please do not use it together with httpd-level output compression.
444|
Derek Jones4b9c6292011-07-01 17:40:48 -0500445| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
Derek Allard2067d1a2008-11-13 22:59:24 +0000446| means you are prematurely outputting something to your browser. It could
Derek Jones4b9c6292011-07-01 17:40:48 -0500447| even be a line of whitespace at the end of one of your scripts. For
Derek Allard2067d1a2008-11-13 22:59:24 +0000448| compression to work, nothing can be sent before the output buffer is called
Derek Jones4b9c6292011-07-01 17:40:48 -0500449| by the output class. Do not 'echo' any values with compression enabled.
Derek Allard2067d1a2008-11-13 22:59:24 +0000450|
451*/
452$config['compress_output'] = FALSE;
453
454/*
455|--------------------------------------------------------------------------
Thor (atiredmachine)63678a22012-01-24 16:56:01 -0800456| Minify
457|--------------------------------------------------------------------------
458|
459| Removes extra characters (usually unnecessary spaces) from your
460| output for faster page load speeds. Makes your outputted HTML source
461| code less readable.
462|
463*/
464$config['minify_output'] = FALSE;
465
466/*
467|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000468| Master Time Reference
469|--------------------------------------------------------------------------
470|
Andrey Andreevd163e0b2012-06-14 03:09:53 +0300471| Options are 'local' or any PHP supported timezone. This preference tells
472| the system whether to use your server's local time as the master 'now'
473| reference, or convert it to the configured one timezone. See the 'date
Iban Eguia74009652012-06-13 22:57:50 +0200474| helper' page of the user guide for information regarding date handling.
Derek Allard2067d1a2008-11-13 22:59:24 +0000475|
476*/
477$config['time_reference'] = 'local';
478
479
480/*
481|--------------------------------------------------------------------------
482| Rewrite PHP Short Tags
483|--------------------------------------------------------------------------
484|
485| If your PHP installation does not have short tag support enabled CI
486| can rewrite the tags on-the-fly, enabling you to utilize that syntax
Derek Jones4b9c6292011-07-01 17:40:48 -0500487| in your view files. Options are TRUE or FALSE (boolean)
Derek Allard2067d1a2008-11-13 22:59:24 +0000488|
489*/
490$config['rewrite_short_tags'] = FALSE;
491
492
Derek Jonesc5972282009-02-04 21:40:20 +0000493/*
494|--------------------------------------------------------------------------
495| Reverse Proxy IPs
496|--------------------------------------------------------------------------
497|
Andrey Andreev9ac557f2012-10-06 20:27:57 +0300498| If your server is behind a reverse proxy, you must whitelist the proxy
499| IP addresses from which CodeIgniter should trust headers such as
500| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify
501| the visitor's IP address.
Derek Jonesc5972282009-02-04 21:40:20 +0000502|
Andrey Andreev9ac557f2012-10-06 20:27:57 +0300503| You can use both an array or a comma-separated list of proxy addresses,
504| as well as specifying whole subnets. Here are a few examples:
505|
506| Comma-separated: '10.0.1.200,192.168.5.0/24'
507| Array: array('10.0.1.200', '192.168.5.0/24')
Derek Jonesc5972282009-02-04 21:40:20 +0000508*/
509$config['proxy_ips'] = '';
510
Derek Allard2067d1a2008-11-13 22:59:24 +0000511
512/* End of file config.php */
Andrey Andreev9c989912013-09-14 20:55:12 +0300513/* Location: ./application/config/config.php */