blob: b6b3c9fdf8bffb834cb62226ea893c9d4797ea98 [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 *
7 * NOTICE OF LICENSE
Andrey Andreeve734b382012-03-26 13:42:36 +03008 *
Derek Jonesf4a4bd82011-10-20 12:18:42 -05009 * Licensed under the Academic Free License version 3.0
Andrey Andreeve734b382012-03-26 13:42:36 +030010 *
Derek Jones61df9062011-10-21 09:55:40 -050011 * This source file is subject to the Academic Free License (AFL 3.0) that is
Derek Jonesf4a4bd82011-10-20 12:18:42 -050012 * bundled with this package in the files license_afl.txt / license_afl.rst.
13 * It is also available through the world wide web at this URL:
14 * http://opensource.org/licenses/AFL-3.0
15 * If you did not receive a copy of the license and are unable to obtain it
16 * through the world wide web, please send an email to
17 * licensing@ellislab.com so we can send you a copy immediately.
18 *
19 * @package CodeIgniter
20 * @author EllisLab Dev Team
darwinel871754a2014-02-11 17:34:57 +010021 * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/)
Derek Jonesf4a4bd82011-10-20 12:18:42 -050022 * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0)
23 * @link http://codeigniter.com
24 * @since Version 1.0
25 * @filesource
26 */
darwineld8bef8a2014-02-11 20:13:22 +010027defined('BASEPATH') OR exit('No direct script access allowed');
Derek Allard2067d1a2008-11-13 22:59:24 +000028
29/*
30|--------------------------------------------------------------------------
31| Base Site URL
32|--------------------------------------------------------------------------
33|
34| URL to your CodeIgniter root. Typically this will be your base URL,
35| WITH a trailing slash:
36|
37| http://example.com/
38|
Phil Sturgeon4df8b222010-12-15 14:23:14 +000039| If this is not set then CodeIgniter will guess the protocol, domain and
40| path to your installation.
41|
Derek Allard2067d1a2008-11-13 22:59:24 +000042*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +000043$config['base_url'] = '';
Derek Allard2067d1a2008-11-13 22:59:24 +000044
45/*
46|--------------------------------------------------------------------------
47| Index File
48|--------------------------------------------------------------------------
49|
50| Typically this will be your index.php file, unless you've renamed it to
51| something else. If you are using mod_rewrite to remove the page set this
52| variable so that it is blank.
53|
54*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +000055$config['index_page'] = 'index.php';
Derek Allard2067d1a2008-11-13 22:59:24 +000056
57/*
58|--------------------------------------------------------------------------
59| URI PROTOCOL
60|--------------------------------------------------------------------------
61|
62| This item determines which server global should be used to retrieve the
Derek Jones4b9c6292011-07-01 17:40:48 -050063| URI string. The default setting of 'AUTO' works for most servers.
Derek Allard2067d1a2008-11-13 22:59:24 +000064| If your links do not seem to work, try one of the other delicious flavors:
65|
Andrey Andreevf2b19fe2012-10-31 16:16:24 +020066| 'AUTO' Default - auto detects
67| 'CLI' or 'argv' Uses $_SERVER['argv'] (for php-cli only)
Andrey Andreevf2b19fe2012-10-31 16:16:24 +020068| 'PATH_INFO' Uses $_SERVER['PATH_INFO']
Andrey Andreev3b72eb52012-11-01 00:45:26 +020069| 'REQUEST_URI' Uses $_SERVER['REQUEST_URI']
Andrey Andreevf2b19fe2012-10-31 16:16:24 +020070| 'QUERY_STRING' Uses $_SERVER['QUERY_STRING']
Derek Allard2067d1a2008-11-13 22:59:24 +000071|
72*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +000073$config['uri_protocol'] = 'AUTO';
Derek Allard2067d1a2008-11-13 22:59:24 +000074
75/*
76|--------------------------------------------------------------------------
77| URL suffix
78|--------------------------------------------------------------------------
79|
80| This option allows you to add a suffix to all URLs generated by CodeIgniter.
81| For more information please see the user guide:
82|
83| http://codeigniter.com/user_guide/general/urls.html
84*/
85
Phil Sturgeon4df8b222010-12-15 14:23:14 +000086$config['url_suffix'] = '';
Derek Allard2067d1a2008-11-13 22:59:24 +000087
88/*
89|--------------------------------------------------------------------------
90| Default Language
91|--------------------------------------------------------------------------
92|
93| This determines which set of language files should be used. Make sure
94| there is an available translation if you intend to use something other
95| than english.
96|
97*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +000098$config['language'] = 'english';
Derek Allard2067d1a2008-11-13 22:59:24 +000099
100/*
101|--------------------------------------------------------------------------
102| Default Character Set
103|--------------------------------------------------------------------------
104|
105| This determines which character set is used by default in various methods
106| that require a character set to be provided.
107|
freewil8cc0cfe2011-08-27 21:53:00 -0400108| See http://php.net/htmlspecialchars for a list of supported charsets.
109|
Derek Allard2067d1a2008-11-13 22:59:24 +0000110*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000111$config['charset'] = 'UTF-8';
Derek Allard2067d1a2008-11-13 22:59:24 +0000112
113/*
114|--------------------------------------------------------------------------
115| Enable/Disable System Hooks
116|--------------------------------------------------------------------------
117|
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000118| If you would like to use the 'hooks' feature you must enable it by
Derek Jones4b9c6292011-07-01 17:40:48 -0500119| setting this variable to TRUE (boolean). See the user guide for details.
Derek Allard2067d1a2008-11-13 22:59:24 +0000120|
121*/
122$config['enable_hooks'] = FALSE;
123
Derek Allard2067d1a2008-11-13 22:59:24 +0000124/*
125|--------------------------------------------------------------------------
126| Class Extension Prefix
127|--------------------------------------------------------------------------
128|
129| This item allows you to set the filename/classname prefix when extending
Derek Jones4b9c6292011-07-01 17:40:48 -0500130| native libraries. For more information please see the user guide:
Derek Allard2067d1a2008-11-13 22:59:24 +0000131|
132| http://codeigniter.com/user_guide/general/core_classes.html
133| http://codeigniter.com/user_guide/general/creating_libraries.html
134|
135*/
136$config['subclass_prefix'] = 'MY_';
137
Andrey Andreeved86ee12014-07-11 19:48:37 +0300138/*
139|--------------------------------------------------------------------------
140| Composer auto-loading
141|--------------------------------------------------------------------------
142|
143| Enabling this setting will tell CodeIgniter to look for a Composer
144| package auto-loader script in application/vendor/autoload.php.
145|
146| $config['composer_autoload'] = TRUE;
147|
148| Or if you have your vendor/ directory located somewhere else, you
149| can opt to set a specific path as well:
150|
151| $config['composer_autoload'] = '/path/to/vendor/autoload.php';
152|
153| For more information about Composer, please visit http://getcomposer.org/
154|
155| Note: This will NOT disable or override the CodeIgniter-specific
156| autoloading (application/config/autoload.php)
157*/
158$config['composer_autoload'] = FALSE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000159
160/*
161|--------------------------------------------------------------------------
162| Allowed URL Characters
163|--------------------------------------------------------------------------
164|
Andrey Andreevde14aa52014-01-15 15:51:08 +0200165| This lets you specify which characters are permitted within your URLs.
166| When someone tries to submit a URL with disallowed characters they will
167| get a warning message.
Derek Allard2067d1a2008-11-13 22:59:24 +0000168|
169| As a security measure you are STRONGLY encouraged to restrict URLs to
Derek Jones4b9c6292011-07-01 17:40:48 -0500170| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
Derek Allard2067d1a2008-11-13 22:59:24 +0000171|
172| Leave blank to allow all characters -- but only if you are insane.
173|
Andrey Andreevde14aa52014-01-15 15:51:08 +0200174| The configured value is actually a regular expression character group
175| and it will be executed as: ! preg_match('/^[<permitted_uri_chars>]+$/i
176|
Derek Allard2067d1a2008-11-13 22:59:24 +0000177| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
178|
179*/
180$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
181
182
183/*
184|--------------------------------------------------------------------------
185| Enable Query Strings
186|--------------------------------------------------------------------------
187|
188| By default CodeIgniter uses search-engine friendly segment based URLs:
189| example.com/who/what/where/
190|
Derek Jones4b9c6292011-07-01 17:40:48 -0500191| By default CodeIgniter enables access to the $_GET array. If for some
Dan Horrigan65d603e2010-12-15 08:38:30 -0500192| reason you would like to disable it, set 'allow_get_array' to FALSE.
193|
Derek Allard2067d1a2008-11-13 22:59:24 +0000194| You can optionally enable standard query string based URLs:
195| example.com?who=me&what=something&where=here
196|
197| Options are: TRUE or FALSE (boolean)
198|
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000199| The other items let you set the query string 'words' that will
Derek Allard2067d1a2008-11-13 22:59:24 +0000200| invoke your controllers and its functions:
201| example.com/index.php?c=controller&m=function
202|
203| Please note that some of the helpers won't work as expected when
204| this feature is enabled, since CodeIgniter is designed primarily to
205| use segment based URLs.
206|
207*/
Phil Sturgeonc8089152010-12-27 19:06:28 +0000208$config['allow_get_array'] = TRUE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000209$config['enable_query_strings'] = FALSE;
Barry Mienydd671972010-10-04 16:33:58 +0200210$config['controller_trigger'] = 'c';
211$config['function_trigger'] = 'm';
212$config['directory_trigger'] = 'd'; // experimental not currently in use
Derek Allard2067d1a2008-11-13 22:59:24 +0000213
214/*
215|--------------------------------------------------------------------------
216| Error Logging Threshold
217|--------------------------------------------------------------------------
218|
Barry Mienydd671972010-10-04 16:33:58 +0200219| If you have enabled error logging, you can set an error threshold to
Derek Allard2067d1a2008-11-13 22:59:24 +0000220| determine what gets logged. Threshold options are:
221| You can enable error logging by setting a threshold over zero. The
222| threshold determines what gets logged. Threshold options are:
223|
224| 0 = Disables logging, Error logging TURNED OFF
225| 1 = Error Messages (including PHP errors)
226| 2 = Debug Messages
227| 3 = Informational Messages
228| 4 = All Messages
229|
Nithin333f9f92011-08-21 16:52:06 -0400230| You can also pass in a array with threshold levels to show individual error types
Iban Eguia83105952012-03-27 18:18:15 +0200231|
Nithin333f9f92011-08-21 16:52:06 -0400232| array(2) = Debug Messages, without Error Messages
233|
Derek Allard2067d1a2008-11-13 22:59:24 +0000234| For a live site you'll usually only enable Errors (1) to be logged otherwise
235| your log files will fill up very fast.
236|
237*/
238$config['log_threshold'] = 0;
239
240/*
241|--------------------------------------------------------------------------
242| Error Logging Directory Path
243|--------------------------------------------------------------------------
244|
245| Leave this BLANK unless you would like to set something other than the default
vlakoff6cf456d2014-04-14 14:38:29 +0200246| application/logs/ directory. Use a full server path with trailing slash.
Derek Allard2067d1a2008-11-13 22:59:24 +0000247|
248*/
249$config['log_path'] = '';
250
251/*
252|--------------------------------------------------------------------------
Chris Passas0bd6b282013-02-13 14:16:18 -0500253| Log File Extension
254|--------------------------------------------------------------------------
255|
Andrey Andreeva107a0f2013-02-15 22:30:31 +0200256| The default filename extension for log files. The default 'php' allows for
257| protecting the log files via basic scripting, when they are to be stored
258| under a publicly accessible directory.
259|
260| Note: Leaving it blank will default to 'php'.
Chris Passas0bd6b282013-02-13 14:16:18 -0500261|
262*/
263$config['log_file_extension'] = '';
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|--------------------------------------------------------------------------
300| Encryption Key
301|--------------------------------------------------------------------------
302|
Derek Jones5485db52010-08-30 21:31:08 -0500303| If you use the Encryption class or the Session class you
Derek Jones4b9c6292011-07-01 17:40:48 -0500304| MUST set an encryption key. See the user guide for info.
Iban Eguia83105952012-03-27 18:18:15 +0200305|
Kyle Ridolfo6a33e552011-10-27 15:40:06 -0300306| http://codeigniter.com/user_guide/libraries/encryption.html
307| http://codeigniter.com/user_guide/libraries/sessions.html
Derek Allard2067d1a2008-11-13 22:59:24 +0000308|
309*/
Phil Sturgeon4df8b222010-12-15 14:23:14 +0000310$config['encryption_key'] = '';
Derek Allard2067d1a2008-11-13 22:59:24 +0000311
312/*
313|--------------------------------------------------------------------------
314| Session Variables
315|--------------------------------------------------------------------------
316|
dchill42ac740ab2012-08-30 10:49:28 -0400317| 'sess_driver' = the driver to load: cookie (Classic), native (PHP sessions),
318| or your custom driver name
319| 'sess_valid_drivers' = additional valid drivers which may be loaded
brenjt02a16122013-09-14 11:10:25 -0600320| 'sess_cookie_name' = the name you want for the cookie, must contain only [0-9a-z_-] characters
Barry Mienydd671972010-10-04 16:33:58 +0200321| 'sess_expiration' = the number of SECONDS you want the session to last.
Derek Jones4b9c6292011-07-01 17:40:48 -0500322| by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
Derek Jones21ca8cc2010-09-27 08:49:29 -0500323| 'sess_expire_on_close' = Whether to cause the session to expire automatically
Derek Jones4b9c6292011-07-01 17:40:48 -0500324| when the browser window is closed
Derek Jones21ca8cc2010-09-27 08:49:29 -0500325| 'sess_encrypt_cookie' = Whether to encrypt the cookie
326| 'sess_use_database' = Whether to save the session data to a database
327| 'sess_table_name' = The name of the session database table
328| 'sess_match_ip' = Whether to match the user's IP address when reading the session data
329| 'sess_match_useragent' = Whether to match the User Agent when reading the session data
330| 'sess_time_to_update' = how many seconds between CI refreshing Session Information
Derek Allard2067d1a2008-11-13 22:59:24 +0000331|
332*/
dchill42ac740ab2012-08-30 10:49:28 -0400333$config['sess_driver'] = 'cookie';
334$config['sess_valid_drivers'] = array();
Derek Allard2067d1a2008-11-13 22:59:24 +0000335$config['sess_cookie_name'] = 'ci_session';
336$config['sess_expiration'] = 7200;
Derek Jones21ca8cc2010-09-27 08:49:29 -0500337$config['sess_expire_on_close'] = FALSE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000338$config['sess_encrypt_cookie'] = FALSE;
339$config['sess_use_database'] = FALSE;
340$config['sess_table_name'] = 'ci_sessions';
341$config['sess_match_ip'] = FALSE;
342$config['sess_match_useragent'] = TRUE;
Barry Mienydd671972010-10-04 16:33:58 +0200343$config['sess_time_to_update'] = 300;
Derek Allard2067d1a2008-11-13 22:59:24 +0000344
345/*
346|--------------------------------------------------------------------------
347| Cookie Related Variables
348|--------------------------------------------------------------------------
349|
350| 'cookie_prefix' = Set a prefix if you need to avoid collisions
351| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
Derek Jones4b9c6292011-07-01 17:40:48 -0500352| 'cookie_path' = Typically will be a forward slash
353| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
Iban Eguia83105952012-03-27 18:18:15 +0200354| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
Derek Allard2067d1a2008-11-13 22:59:24 +0000355|
356*/
Dumk0d55f7492012-07-03 11:21:45 +0300357$config['cookie_prefix'] = '';
358$config['cookie_domain'] = '';
359$config['cookie_path'] = '/';
Robin Sowelld6d9f452011-02-11 15:31:27 -0500360$config['cookie_secure'] = FALSE;
freewil4ad0fd82012-03-13 22:37:42 -0400361$config['cookie_httponly'] = FALSE;
Derek Allard2067d1a2008-11-13 22:59:24 +0000362
363/*
364|--------------------------------------------------------------------------
Andrey Andreevbfb635b2014-01-08 18:32:05 +0200365| Standardize newlines
366|--------------------------------------------------------------------------
367|
368| Determines whether to standardize newline characters in input data,
369| meaning to replace \r\n, \r, \n occurences with the PHP_EOL value.
370|
371| This is particularly useful for portability between UNIX-based OSes,
372| (usually \n) and Windows (\r\n).
373|
374*/
Andrey Andreevaeed15e2014-04-14 16:56:23 +0300375$config['standardize_newlines'] = FALSE;
Andrey Andreevbfb635b2014-01-08 18:32:05 +0200376
377/*
378|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000379| Global XSS Filtering
380|--------------------------------------------------------------------------
381|
382| Determines whether the XSS filter is always active when GET, POST or
383| COOKIE data is encountered
384|
385*/
386$config['global_xss_filtering'] = FALSE;
387
388/*
389|--------------------------------------------------------------------------
Shane Pearson49ced912010-10-06 17:31:40 -0500390| Cross Site Request Forgery
Derek Allard958543a2010-07-22 14:10:26 -0400391|--------------------------------------------------------------------------
Shane Pearson49ced912010-10-06 17:31:40 -0500392| Enables a CSRF cookie token to be set. When set to TRUE, token will be
Derek Allard958543a2010-07-22 14:10:26 -0400393| checked on a submitted form. If you are accepting user data, it is strongly
394| recommended CSRF protection be enabled.
Eric Barnes9805ecc2011-01-16 23:35:16 -0500395|
396| 'csrf_token_name' = The token name
397| 'csrf_cookie_name' = The cookie name
398| 'csrf_expire' = The number in seconds the token should expire.
RS714b2e9fe2011-12-31 16:02:50 -0200399| 'csrf_regenerate' = Regenerate token on every submission
Alex Bilbieaeb2c3e2011-08-21 16:14:54 +0100400| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
Derek Allard958543a2010-07-22 14:10:26 -0400401*/
402$config['csrf_protection'] = FALSE;
Eric Barnes9805ecc2011-01-16 23:35:16 -0500403$config['csrf_token_name'] = 'csrf_test_name';
404$config['csrf_cookie_name'] = 'csrf_cookie_name';
405$config['csrf_expire'] = 7200;
RS714b2e9fe2011-12-31 16:02:50 -0200406$config['csrf_regenerate'] = TRUE;
Alex Bilbieaeb2c3e2011-08-21 16:14:54 +0100407$config['csrf_exclude_uris'] = array();
Derek Allard958543a2010-07-22 14:10:26 -0400408
409/*
410|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000411| Output Compression
412|--------------------------------------------------------------------------
413|
Derek Jones4b9c6292011-07-01 17:40:48 -0500414| Enables Gzip output compression for faster page loads. When enabled,
Derek Allard2067d1a2008-11-13 22:59:24 +0000415| the output class will test whether your server supports Gzip.
416| Even if it does, however, not all browsers support compression
417| so enable only if you are reasonably sure your visitors can handle it.
418|
Andrey Andreev155ee722014-01-10 15:50:54 +0200419| Only used if zlib.output_compression is turned off in your php.ini.
420| Please do not use it together with httpd-level output compression.
421|
Derek Jones4b9c6292011-07-01 17:40:48 -0500422| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
Derek Allard2067d1a2008-11-13 22:59:24 +0000423| means you are prematurely outputting something to your browser. It could
Derek Jones4b9c6292011-07-01 17:40:48 -0500424| even be a line of whitespace at the end of one of your scripts. For
Derek Allard2067d1a2008-11-13 22:59:24 +0000425| compression to work, nothing can be sent before the output buffer is called
Derek Jones4b9c6292011-07-01 17:40:48 -0500426| by the output class. Do not 'echo' any values with compression enabled.
Derek Allard2067d1a2008-11-13 22:59:24 +0000427|
428*/
429$config['compress_output'] = FALSE;
430
431/*
432|--------------------------------------------------------------------------
Thor (atiredmachine)63678a22012-01-24 16:56:01 -0800433| Minify
434|--------------------------------------------------------------------------
435|
436| Removes extra characters (usually unnecessary spaces) from your
437| output for faster page load speeds. Makes your outputted HTML source
438| code less readable.
439|
440*/
441$config['minify_output'] = FALSE;
442
443/*
444|--------------------------------------------------------------------------
Derek Allard2067d1a2008-11-13 22:59:24 +0000445| Master Time Reference
446|--------------------------------------------------------------------------
447|
Andrey Andreevd163e0b2012-06-14 03:09:53 +0300448| Options are 'local' or any PHP supported timezone. This preference tells
449| the system whether to use your server's local time as the master 'now'
450| reference, or convert it to the configured one timezone. See the 'date
Iban Eguia74009652012-06-13 22:57:50 +0200451| helper' page of the user guide for information regarding date handling.
Derek Allard2067d1a2008-11-13 22:59:24 +0000452|
453*/
454$config['time_reference'] = 'local';
455
456
457/*
458|--------------------------------------------------------------------------
459| Rewrite PHP Short Tags
460|--------------------------------------------------------------------------
461|
462| If your PHP installation does not have short tag support enabled CI
463| can rewrite the tags on-the-fly, enabling you to utilize that syntax
Derek Jones4b9c6292011-07-01 17:40:48 -0500464| in your view files. Options are TRUE or FALSE (boolean)
Derek Allard2067d1a2008-11-13 22:59:24 +0000465|
466*/
467$config['rewrite_short_tags'] = FALSE;
468
469
Derek Jonesc5972282009-02-04 21:40:20 +0000470/*
471|--------------------------------------------------------------------------
472| Reverse Proxy IPs
473|--------------------------------------------------------------------------
474|
Andrey Andreev9ac557f2012-10-06 20:27:57 +0300475| If your server is behind a reverse proxy, you must whitelist the proxy
476| IP addresses from which CodeIgniter should trust headers such as
477| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify
478| the visitor's IP address.
Derek Jonesc5972282009-02-04 21:40:20 +0000479|
Andrey Andreev9ac557f2012-10-06 20:27:57 +0300480| You can use both an array or a comma-separated list of proxy addresses,
481| as well as specifying whole subnets. Here are a few examples:
482|
483| Comma-separated: '10.0.1.200,192.168.5.0/24'
484| Array: array('10.0.1.200', '192.168.5.0/24')
Derek Jonesc5972282009-02-04 21:40:20 +0000485*/
486$config['proxy_ips'] = '';
487
Derek Allard2067d1a2008-11-13 22:59:24 +0000488
489/* End of file config.php */
Andrey Andreev9c989912013-09-14 20:55:12 +0300490/* Location: ./application/config/config.php */