diff options
author | Ronald Beilsma <beilsma@gmail.com> | 2012-01-10 15:45:31 +0100 |
---|---|---|
committer | Ronald Beilsma <beilsma@gmail.com> | 2012-01-10 15:45:31 +0100 |
commit | 25dcb93d05bd098e89188ea0691adf72228bd131 (patch) | |
tree | 37d3d769f2e64bebb48a98378c7aee3ab4c17efe /application/config/config.php | |
parent | db66eb38cfc4a2ab6c8816b8f7663211232d4f4e (diff) | |
parent | e9a5a862a1252548b463aa738e50e8d9bfd01379 (diff) |
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop
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(); /* |