Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $config['cookie_prefix'] = '';
- $config['cookie_domain'] = '';
- $config['cookie_path'] = '/';
- $config['cookie_secure'] = TRUE;
- $config['cookie_httponly'] = FALSE;
- /*
- |--------------------------------------------------------------------------
- | Standardize newlines
- |--------------------------------------------------------------------------
- |
- | Determines whether to standardize newline characters in input data,
- | meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value.
- |
- | WARNING: This feature is DEPRECATED and currently available only
- | for backwards compatibility purposes!
- |
- */
- $config['standardize_newlines'] = FALSE;
- /*
- |--------------------------------------------------------------------------
- | Global XSS Filtering
- |--------------------------------------------------------------------------
- |
- | Determines whether the XSS filter is always active when GET, POST or
- | COOKIE data is encountered
- |
- | WARNING: This feature is DEPRECATED and currently available only
- | for backwards compatibility purposes!
- |
- */
- $config['global_xss_filtering'] = FALSE;
- /*
- |--------------------------------------------------------------------------
- | Cross Site Request Forgery
- |--------------------------------------------------------------------------
- | Enables a CSRF cookie token to be set. When set to TRUE, token will be
- | checked on a submitted form. If you are accepting user data, it is strongly
- | recommended CSRF protection be enabled.
- |
- | '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'] = TRUE;
- $config['csrf_token_name'] = 'csrf_token';
- $config['csrf_cookie_name'] = 'csrf_cookie_name';
- $config['csrf_expire'] = 7200;
- $config['csrf_regenerate'] = FALSE;
- $config['csrf_exclude_uris'] = array();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement