blob: 5e82e23f1f650e5690b955c7dac63697cb5472c0 [file] [log] [blame]
darwineld8bef8a2014-02-11 20:13:22 +01001<?php
darwineld8bef8a2014-02-11 20:13:22 +01002defined('BASEPATH') OR exit('No direct script access allowed');
Derek Allard2067d1a2008-11-13 22:59:24 +00003
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|
Andrey Andreev0a6b0662015-10-26 15:31:38 +020014| WARNING: You MUST set this value!
15|
16| If it is not set, then CodeIgniter will try guess the protocol and path
17| your installation, but due to security concerns the hostname will be set
18| to $_SERVER['SERVER_ADDR'] if available, or localhost otherwise.
19| The auto-detection mechanism exists only for convenience during
20| development and MUST NOT be used in production!
21|
22| If you need to allow multiple domains, remember that this file is still
23| a PHP script and you can easily do that on your own.
Phil Sturgeon4df8b222010-12-15 14:23:14 +000024|
Derek Allard2067d1a2008-11-13 22:59:24 +000025*/
Luigi Santivetti7bab4942019-06-16 07:40:53 +000026$config['base_url'] = 'https://www.giggi.me/';
Derek Allard2067d1a2008-11-13 22:59:24 +000027
28/*
29|--------------------------------------------------------------------------
30| Index File
31|--------------------------------------------------------------------------
32|
33| Typically this will be your index.php file, unless you've renamed it to
34| something else. If you are using mod_rewrite to remove the page set this
35| variable so that it is blank.
36|
37*/
Luigi Santivetti7bab4942019-06-16 07:40:53 +000038$config['index_page'] = '';
Derek Allard2067d1a2008-11-13 22:59:24 +000039
40/*
41|--------------------------------------------------------------------------
42| URI PROTOCOL
43|--------------------------------------------------------------------------
44|
45| This item determines which server global should be used to retrieve the
Andrey Andreev0ae4e6c2015-02-18 21:14:55 +020046| URI string. The default setting of 'REQUEST_URI' works for most servers.
Derek Allard2067d1a2008-11-13 22:59:24 +000047| If your links do not seem to work, try one of the other delicious flavors:
48|
Andrey Andreev0ae4e6c2015-02-18 21:14:55 +020049| 'REQUEST_URI' Uses $_SERVER['REQUEST_URI']
50| 'QUERY_STRING' Uses $_SERVER['QUERY_STRING']
51| 'PATH_INFO' Uses $_SERVER['PATH_INFO']
Derek Allard2067d1a2008-11-13 22:59:24 +000052|
Andrey Andreev0ae4e6c2015-02-18 21:14:55 +020053| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
Derek Allard2067d1a2008-11-13 22:59:24 +000054*/
Andrey Andreev0ae4e6c2015-02-18 21:14:55 +020055$config['uri_protocol'] = 'REQUEST_URI';
Derek Allard2067d1a2008-11-13 22:59:24 +000056
57/*
58|--------------------------------------------------------------------------
59| URL suffix
60|--------------------------------------------------------------------------
61|
62| This option allows you to add a suffix to all URLs generated by CodeIgniter.
63| For more information please see the user guide:
64|
Andrey Andreevbd202c92016-01-11 12:50:18 +020065| https://codeigniter.com/user_guide/general/urls.html
Derek Allard2067d1a2008-11-13 22:59:24 +000066*/
Luigi Santivetti7bab4942019-06-16 07:40:53 +000067$config['url_suffix'] = '.html';
Derek Allard2067d1a2008-11-13 22:59:24 +000068
69/*
70|--------------------------------------------------------------------------
71| Default Language
72|--------------------------------------------------------------------------
73|
74| This determines which set of language files should be used. Make sure
75| there is an available translation if you intend to use something other
76| than english.
77|
78*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +000079$config['language'] = 'english';
Derek Allard2067d1a2008-11-13 22:59:24 +000080
81/*
82|--------------------------------------------------------------------------
83| Default Character Set
84|--------------------------------------------------------------------------
85|
86| This determines which character set is used by default in various methods
87| that require a character set to be provided.
88|
freewil8cc0cfe2011-08-27 21:53:00 -040089| See http://php.net/htmlspecialchars for a list of supported charsets.
90|
Derek Allard2067d1a2008-11-13 22:59:24 +000091*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +000092$config['charset'] = 'UTF-8';
Derek Allard2067d1a2008-11-13 22:59:24 +000093
94/*
95|--------------------------------------------------------------------------
96| Enable/Disable System Hooks
97|--------------------------------------------------------------------------
98|
Phil Sturgeon4df8b222010-12-15 14:23:14 +000099| If you would like to use the 'hooks' feature you must enable it by
Derek Jones4b9c6292011-07-01 17:40:48 -0500100| setting this variable to TRUE (boolean). See the user guide for details.
Derek Allard2067d1a2008-11-13 22:59:24 +0000101|
102*/
103$config['enable_hooks'] = FALSE;
104
Derek Allard2067d1a2008-11-13 22:59:24 +0000105/*
106|--------------------------------------------------------------------------
107| Class Extension Prefix
108|--------------------------------------------------------------------------
109|
110| This item allows you to set the filename/classname prefix when extending
Derek Jones4b9c6292011-07-01 17:40:48 -0500111| native libraries. For more information please see the user guide:
Derek Allard2067d1a2008-11-13 22:59:24 +0000112|
Andrey Andreevbd202c92016-01-11 12:50:18 +0200113| https://codeigniter.com/user_guide/general/core_classes.html
114| https://codeigniter.com/user_guide/general/creating_libraries.html
Derek Allard2067d1a2008-11-13 22:59:24 +0000115|
116*/
117$config['subclass_prefix'] = 'MY_';
118
Andrey Andreeved86ee12014-07-11 19:48:37 +0300119/*
120|--------------------------------------------------------------------------
121| Composer auto-loading
122|--------------------------------------------------------------------------
123|
124| Enabling this setting will tell CodeIgniter to look for a Composer
125| package auto-loader script in application/vendor/autoload.php.
126|
127| $config['composer_autoload'] = TRUE;
128|
129| Or if you have your vendor/ directory located somewhere else, you
130| can opt to set a specific path as well:
131|
132| $config['composer_autoload'] = '/path/to/vendor/autoload.php';
133|
134| For more information about Composer, please visit http://getcomposer.org/
135|
136| Note: This will NOT disable or override the CodeIgniter-specific
137| autoloading (application/config/autoload.php)
138*/
139$config['composer_autoload'] = FALSE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000140
141/*
142|--------------------------------------------------------------------------
143| Allowed URL Characters
144|--------------------------------------------------------------------------
145|
Andrey Andreevde14aa52014-01-15 15:51:08 +0200146| This lets you specify which characters are permitted within your URLs.
147| When someone tries to submit a URL with disallowed characters they will
148| get a warning message.
Derek Allard2067d1a2008-11-13 22:59:24 +0000149|
150| As a security measure you are STRONGLY encouraged to restrict URLs to
Derek Jones4b9c6292011-07-01 17:40:48 -0500151| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
Derek Allard2067d1a2008-11-13 22:59:24 +0000152|
153| Leave blank to allow all characters -- but only if you are insane.
154|
Andrey Andreevde14aa52014-01-15 15:51:08 +0200155| The configured value is actually a regular expression character group
156| and it will be executed as: ! preg_match('/^[<permitted_uri_chars>]+$/i
157|
Derek Allard2067d1a2008-11-13 22:59:24 +0000158| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
159|
160*/
161$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
162
Derek Allard2067d1a2008-11-13 22:59:24 +0000163/*
164|--------------------------------------------------------------------------
165| Enable Query Strings
166|--------------------------------------------------------------------------
167|
168| By default CodeIgniter uses search-engine friendly segment based URLs:
169| example.com/who/what/where/
170|
171| You can optionally enable standard query string based URLs:
172| example.com?who=me&what=something&where=here
173|
174| Options are: TRUE or FALSE (boolean)
175|
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000176| The other items let you set the query string 'words' that will
Derek Allard2067d1a2008-11-13 22:59:24 +0000177| invoke your controllers and its functions:
178| example.com/index.php?c=controller&m=function
179|
180| Please note that some of the helpers won't work as expected when
181| this feature is enabled, since CodeIgniter is designed primarily to
182| use segment based URLs.
183|
184*/
185$config['enable_query_strings'] = FALSE;
Andrey Andreev81c93472014-11-11 12:36:30 +0200186$config['controller_trigger'] = 'c';
187$config['function_trigger'] = 'm';
188$config['directory_trigger'] = 'd';
Derek Allard2067d1a2008-11-13 22:59:24 +0000189
190/*
191|--------------------------------------------------------------------------
Andrey Andreev25aab832016-12-14 13:04:40 +0200192| Allow $_GET array
193|--------------------------------------------------------------------------
194|
195| By default CodeIgniter enables access to the $_GET array. If for some
196| reason you would like to disable it, set 'allow_get_array' to FALSE.
197|
198| WARNING: This feature is DEPRECATED and currently available only
199| for backwards compatibility purposes!
200|
201*/
202$config['allow_get_array'] = TRUE;
203
204/*
205|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000206| Error Logging Threshold
207|--------------------------------------------------------------------------
208|
Derek Allard2067d1a2008-11-13 22:59:24 +0000209| You can enable error logging by setting a threshold over zero. The
210| threshold determines what gets logged. Threshold options are:
211|
212| 0 = Disables logging, Error logging TURNED OFF
213| 1 = Error Messages (including PHP errors)
214| 2 = Debug Messages
215| 3 = Informational Messages
216| 4 = All Messages
217|
Andrey Andreev43ba5a22015-03-01 18:17:28 +0200218| You can also pass an array with threshold levels to show individual error types
Iban Eguia83105952012-03-27 18:18:15 +0200219|
Nithin333f9f92011-08-21 16:52:06 -0400220| array(2) = Debug Messages, without Error Messages
221|
Derek Allard2067d1a2008-11-13 22:59:24 +0000222| For a live site you'll usually only enable Errors (1) to be logged otherwise
223| your log files will fill up very fast.
224|
225*/
226$config['log_threshold'] = 0;
227
228/*
229|--------------------------------------------------------------------------
230| Error Logging Directory Path
231|--------------------------------------------------------------------------
232|
233| Leave this BLANK unless you would like to set something other than the default
vlakoff6cf456d2014-04-14 14:38:29 +0200234| application/logs/ directory. Use a full server path with trailing slash.
Derek Allard2067d1a2008-11-13 22:59:24 +0000235|
236*/
237$config['log_path'] = '';
238
239/*
240|--------------------------------------------------------------------------
Chris Passas0bd6b282013-02-13 14:16:18 -0500241| Log File Extension
242|--------------------------------------------------------------------------
243|
Andrey Andreeva107a0f2013-02-15 22:30:31 +0200244| The default filename extension for log files. The default 'php' allows for
245| protecting the log files via basic scripting, when they are to be stored
246| under a publicly accessible directory.
247|
248| Note: Leaving it blank will default to 'php'.
Chris Passas0bd6b282013-02-13 14:16:18 -0500249|
250*/
251$config['log_file_extension'] = '';
252
253/*
254|--------------------------------------------------------------------------
Andrey Andreev45965742014-08-27 20:40:11 +0300255| Log File Permissions
256|--------------------------------------------------------------------------
257|
258| The file system permissions to be applied on newly created log files.
259|
260| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal
261| integer notation (i.e. 0700, 0644, etc.)
262*/
263$config['log_file_permissions'] = 0644;
264
265/*
266|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000267| Date Format for Logs
268|--------------------------------------------------------------------------
269|
270| Each item that is logged has an associated date. You can use PHP date
271| codes to set your own date formatting
272|
273*/
274$config['log_date_format'] = 'Y-m-d H:i:s';
275
276/*
277|--------------------------------------------------------------------------
vlakoff511a6b82014-04-14 14:33:55 +0200278| Error Views Directory Path
vlakoffcdf3dfa2014-04-12 07:33:42 +0200279|--------------------------------------------------------------------------
280|
281| Leave this BLANK unless you would like to set something other than the default
vlakoff6cf456d2014-04-14 14:38:29 +0200282| application/views/errors/ directory. Use a full server path with trailing slash.
vlakoffcdf3dfa2014-04-12 07:33:42 +0200283|
284*/
vlakoff511a6b82014-04-14 14:33:55 +0200285$config['error_views_path'] = '';
vlakoffcdf3dfa2014-04-12 07:33:42 +0200286
287/*
288|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000289| Cache Directory Path
290|--------------------------------------------------------------------------
291|
292| Leave this BLANK unless you would like to set something other than the default
vlakoff6cf456d2014-04-14 14:38:29 +0200293| application/cache/ directory. Use a full server path with trailing slash.
Derek Allard2067d1a2008-11-13 22:59:24 +0000294|
295*/
296$config['cache_path'] = '';
297
298/*
299|--------------------------------------------------------------------------
Andrey Andreeva704aa72014-12-04 12:37:07 +0200300| Cache Include Query String
301|--------------------------------------------------------------------------
302|
Andrey Andreev4a4cbb32015-07-15 17:39:44 +0300303| Whether to take the URL query string into consideration when generating
304| output cache files. Valid options are:
305|
306| FALSE = Disabled
307| TRUE = Enabled, take all query parameters into account.
308| Please be aware that this may result in numerous cache
309| files generated for the same page over and over again.
310| array('q') = Enabled, but only take into account the specified list
311| of query parameters.
Andrey Andreeva704aa72014-12-04 12:37:07 +0200312|
313*/
314$config['cache_query_string'] = FALSE;
315
316/*
317|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000318| Encryption Key
319|--------------------------------------------------------------------------
320|
Andrey Andreeva7e24ec2015-01-21 11:18:32 +0200321| If you use the Encryption class, you must set an encryption key.
Andrey Andreev9e82b0d2015-01-19 13:26:46 +0200322| See the user guide for more info.
Iban Eguia83105952012-03-27 18:18:15 +0200323|
Andrey Andreevbd202c92016-01-11 12:50:18 +0200324| https://codeigniter.com/user_guide/libraries/encryption.html
Derek Allard2067d1a2008-11-13 22:59:24 +0000325|
326*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000327$config['encryption_key'] = '';
Derek Allard2067d1a2008-11-13 22:59:24 +0000328
329/*
330|--------------------------------------------------------------------------
331| Session Variables
332|--------------------------------------------------------------------------
333|
Andrey Andreevdfb39be2014-10-06 01:50:14 +0300334| 'sess_driver'
335|
Andrey Andreeva8f29f92014-11-10 18:55:55 +0200336| The storage driver to use: files, database, redis, memcached
Andrey Andreevdfb39be2014-10-06 01:50:14 +0300337|
338| 'sess_cookie_name'
339|
340| The session cookie name, must contain only [0-9a-z_-] characters
341|
342| 'sess_expiration'
343|
344| The number of SECONDS you want the session to last.
345| Setting to 0 (zero) means expire when the browser is closed.
346|
347| 'sess_save_path'
348|
Calvin Tamd2d21e82015-07-04 12:54:51 -0700349| The location to save sessions to, driver dependent.
Andrey Andreev973a6542015-01-19 13:25:24 +0200350|
Andrey Andreev1bd697c2015-02-02 14:07:57 +0200351| For the 'files' driver, it's a path to a writable directory.
Andrey Andreevdd8c0ed2015-03-14 17:01:36 +0200352| WARNING: Only absolute paths are supported!
353|
Andrey Andreev973a6542015-01-19 13:25:24 +0200354| For the 'database' driver, it's a table name.
355| Please read up the manual for the format with other session drivers.
Andrey Andreevdfb39be2014-10-06 01:50:14 +0300356|
Andrey Andreev1bd697c2015-02-02 14:07:57 +0200357| IMPORTANT: You are REQUIRED to set a valid save path!
358|
Andrey Andreevdfb39be2014-10-06 01:50:14 +0300359| 'sess_match_ip'
360|
361| Whether to match the user's IP address when reading the session data.
362|
Andrey Andreev20573bd2015-09-01 12:46:06 +0300363| WARNING: If you're using the database driver, don't forget to update
364| your session table's PRIMARY KEY when changing this setting.
365|
Andrey Andreevdfb39be2014-10-06 01:50:14 +0300366| 'sess_time_to_update'
367|
368| How many seconds between CI regenerating the session ID.
369|
Andrey Andreev4e7f85a2015-02-07 19:33:48 +0200370| 'sess_regenerate_destroy'
Andrey Andreev789b1fe2015-02-07 19:30:30 +0200371|
372| Whether to destroy session data associated with the old session ID
373| when auto-regenerating the session ID. When set to FALSE, the data
374| will be later deleted by the garbage collector.
375|
Andrey Andreevdfb39be2014-10-06 01:50:14 +0300376| Other session cookie settings are shared with the rest of the application,
Andrey Andreev973a6542015-01-19 13:25:24 +0200377| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.
Derek Allard2067d1a2008-11-13 22:59:24 +0000378|
379*/
Andrey Andreevdfb39be2014-10-06 01:50:14 +0300380$config['sess_driver'] = 'files';
381$config['sess_cookie_name'] = 'ci_session';
382$config['sess_expiration'] = 7200;
383$config['sess_save_path'] = NULL;
384$config['sess_match_ip'] = FALSE;
385$config['sess_time_to_update'] = 300;
Andrey Andreev789b1fe2015-02-07 19:30:30 +0200386$config['sess_regenerate_destroy'] = FALSE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000387
388/*
389|--------------------------------------------------------------------------
390| Cookie Related Variables
391|--------------------------------------------------------------------------
392|
Andrey Andreev973a6542015-01-19 13:25:24 +0200393| 'cookie_prefix' = Set a cookie name prefix if you need to avoid collisions
394| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
395| 'cookie_path' = Typically will be a forward slash
396| 'cookie_secure' = Cookie will only be set if a secure HTTPS connection exists.
Iban Eguia83105952012-03-27 18:18:15 +0200397| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
Derek Allard2067d1a2008-11-13 22:59:24 +0000398|
Andrey Andreev973a6542015-01-19 13:25:24 +0200399| Note: These settings (with the exception of 'cookie_prefix' and
400| 'cookie_httponly') will also affect sessions.
401|
Derek Allard2067d1a2008-11-13 22:59:24 +0000402*/
Dumk0d55f7492012-07-03 11:21:45 +0300403$config['cookie_prefix'] = '';
404$config['cookie_domain'] = '';
405$config['cookie_path'] = '/';
Robin Sowelld6d9f452011-02-11 15:31:27 -0500406$config['cookie_secure'] = FALSE;
freewil4ad0fd82012-03-13 22:37:42 -0400407$config['cookie_httponly'] = FALSE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000408
409/*
410|--------------------------------------------------------------------------
Andrey Andreevbfb635b2014-01-08 18:32:05 +0200411| Standardize newlines
412|--------------------------------------------------------------------------
413|
414| Determines whether to standardize newline characters in input data,
Calvin Tamd2d21e82015-07-04 12:54:51 -0700415| meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value.
Andrey Andreevbfb635b2014-01-08 18:32:05 +0200416|
Andrey Andreev25aab832016-12-14 13:04:40 +0200417| WARNING: This feature is DEPRECATED and currently available only
418| for backwards compatibility purposes!
Andrey Andreevbfb635b2014-01-08 18:32:05 +0200419|
420*/
Andrey Andreevaeed15e2014-04-14 16:56:23 +0300421$config['standardize_newlines'] = FALSE;
Andrey Andreevbfb635b2014-01-08 18:32:05 +0200422
423/*
424|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000425| Global XSS Filtering
426|--------------------------------------------------------------------------
427|
428| Determines whether the XSS filter is always active when GET, POST or
429| COOKIE data is encountered
430|
Andrey Andreev9187ed32015-02-28 19:54:17 +0200431| WARNING: This feature is DEPRECATED and currently available only
432| for backwards compatibility purposes!
433|
Derek Allard2067d1a2008-11-13 22:59:24 +0000434*/
435$config['global_xss_filtering'] = FALSE;
436
437/*
438|--------------------------------------------------------------------------
Shane Pearson49ced912010-10-06 17:31:40 -0500439| Cross Site Request Forgery
Derek Allard958543a2010-07-22 14:10:26 -0400440|--------------------------------------------------------------------------
Shane Pearson49ced912010-10-06 17:31:40 -0500441| Enables a CSRF cookie token to be set. When set to TRUE, token will be
Derek Allard958543a2010-07-22 14:10:26 -0400442| checked on a submitted form. If you are accepting user data, it is strongly
443| recommended CSRF protection be enabled.
Eric Barnes9805ecc2011-01-16 23:35:16 -0500444|
445| 'csrf_token_name' = The token name
446| 'csrf_cookie_name' = The cookie name
447| 'csrf_expire' = The number in seconds the token should expire.
RS714b2e9fe2011-12-31 16:02:50 -0200448| 'csrf_regenerate' = Regenerate token on every submission
Alex Bilbieaeb2c3e2011-08-21 16:14:54 +0100449| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
Derek Allard958543a2010-07-22 14:10:26 -0400450*/
451$config['csrf_protection'] = FALSE;
Eric Barnes9805ecc2011-01-16 23:35:16 -0500452$config['csrf_token_name'] = 'csrf_test_name';
453$config['csrf_cookie_name'] = 'csrf_cookie_name';
454$config['csrf_expire'] = 7200;
RS714b2e9fe2011-12-31 16:02:50 -0200455$config['csrf_regenerate'] = TRUE;
Alex Bilbieaeb2c3e2011-08-21 16:14:54 +0100456$config['csrf_exclude_uris'] = array();
Derek Allard958543a2010-07-22 14:10:26 -0400457
458/*
459|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000460| Output Compression
461|--------------------------------------------------------------------------
462|
Derek Jones4b9c6292011-07-01 17:40:48 -0500463| Enables Gzip output compression for faster page loads. When enabled,
Derek Allard2067d1a2008-11-13 22:59:24 +0000464| the output class will test whether your server supports Gzip.
465| Even if it does, however, not all browsers support compression
466| so enable only if you are reasonably sure your visitors can handle it.
467|
Andrey Andreev155ee722014-01-10 15:50:54 +0200468| Only used if zlib.output_compression is turned off in your php.ini.
469| Please do not use it together with httpd-level output compression.
470|
Derek Jones4b9c6292011-07-01 17:40:48 -0500471| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
Derek Allard2067d1a2008-11-13 22:59:24 +0000472| means you are prematurely outputting something to your browser. It could
Derek Jones4b9c6292011-07-01 17:40:48 -0500473| even be a line of whitespace at the end of one of your scripts. For
Derek Allard2067d1a2008-11-13 22:59:24 +0000474| compression to work, nothing can be sent before the output buffer is called
Derek Jones4b9c6292011-07-01 17:40:48 -0500475| by the output class. Do not 'echo' any values with compression enabled.
Derek Allard2067d1a2008-11-13 22:59:24 +0000476|
477*/
478$config['compress_output'] = FALSE;
479
480/*
481|--------------------------------------------------------------------------
482| Master Time Reference
483|--------------------------------------------------------------------------
484|
Andrey Andreevd163e0b2012-06-14 03:09:53 +0300485| Options are 'local' or any PHP supported timezone. This preference tells
486| the system whether to use your server's local time as the master 'now'
487| reference, or convert it to the configured one timezone. See the 'date
Iban Eguia74009652012-06-13 22:57:50 +0200488| helper' page of the user guide for information regarding date handling.
Derek Allard2067d1a2008-11-13 22:59:24 +0000489|
490*/
491$config['time_reference'] = 'local';
492
Derek Allard2067d1a2008-11-13 22:59:24 +0000493/*
494|--------------------------------------------------------------------------
495| Rewrite PHP Short Tags
496|--------------------------------------------------------------------------
497|
498| If your PHP installation does not have short tag support enabled CI
499| can rewrite the tags on-the-fly, enabling you to utilize that syntax
Derek Jones4b9c6292011-07-01 17:40:48 -0500500| in your view files. Options are TRUE or FALSE (boolean)
Derek Allard2067d1a2008-11-13 22:59:24 +0000501|
Andrey Andreev07355da2015-07-22 12:46:16 +0300502| Note: You need to have eval() enabled for this to work.
503|
Derek Allard2067d1a2008-11-13 22:59:24 +0000504*/
505$config['rewrite_short_tags'] = FALSE;
506
Derek Jonesc5972282009-02-04 21:40:20 +0000507/*
508|--------------------------------------------------------------------------
509| Reverse Proxy IPs
510|--------------------------------------------------------------------------
511|
Andrey Andreev9ac557f2012-10-06 20:27:57 +0300512| If your server is behind a reverse proxy, you must whitelist the proxy
513| IP addresses from which CodeIgniter should trust headers such as
514| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify
515| the visitor's IP address.
Derek Jonesc5972282009-02-04 21:40:20 +0000516|
Andrey Andreev9ac557f2012-10-06 20:27:57 +0300517| You can use both an array or a comma-separated list of proxy addresses,
518| as well as specifying whole subnets. Here are a few examples:
519|
520| Comma-separated: '10.0.1.200,192.168.5.0/24'
521| Array: array('10.0.1.200', '192.168.5.0/24')
Derek Jonesc5972282009-02-04 21:40:20 +0000522*/
523$config['proxy_ips'] = '';