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