diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-03-09 10:56:21 +0100 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-03-09 10:56:21 +0100 |
commit | b3723ff33ebfd4f4e7822516ecb061613f1bc3d5 (patch) | |
tree | e55d564db25daa3216c3f3e7ae95e315387d6038 /application/config/config.php | |
parent | 4054c56b882ad40495f2d227990d73437af51038 (diff) | |
parent | 0f2cb79b976086cb73140c25f4c568e865177426 (diff) |
Merged with latest commit
Diffstat (limited to 'application/config/config.php')
-rw-r--r-- | application/config/config.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application/config/config.php b/application/config/config.php index 063c3d5d1..17b854b29 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -18,7 +18,7 @@ * * @package CodeIgniter * @author EllisLab Dev Team - * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. (http://ellislab.com/) + * @copyright Copyright (c) 2008 - 2012, EllisLab, Inc. (http://ellislab.com/) * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0) * @link http://codeigniter.com * @since Version 1.0 @@ -326,12 +326,14 @@ $config['global_xss_filtering'] = FALSE; | 'csrf_token_name' = The token name | 'csrf_cookie_name' = The cookie name | 'csrf_expire' = The number in seconds the token should expire. +| 'csrf_regenerate' = Regenerate token on every submission | 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks */ $config['csrf_protection'] = FALSE; $config['csrf_token_name'] = 'csrf_test_name'; $config['csrf_cookie_name'] = 'csrf_cookie_name'; $config['csrf_expire'] = 7200; +$config['csrf_regenerate'] = TRUE; $config['csrf_exclude_uris'] = array(); /* |