SHARE
TWEET

Untitled

a guest Jul 24th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $config['cookie_prefix']    = '';
  2. $config['cookie_domain']    = '';
  3. $config['cookie_path']      = '/';
  4. $config['cookie_secure']    = TRUE;
  5. $config['cookie_httponly']  = FALSE;
  6.  
  7. /*
  8. |--------------------------------------------------------------------------
  9. | Standardize newlines
  10. |--------------------------------------------------------------------------
  11. |
  12. | Determines whether to standardize newline characters in input data,
  13. | meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value.
  14. |
  15. | WARNING: This feature is DEPRECATED and currently available only
  16. |          for backwards compatibility purposes!
  17. |
  18. */
  19. $config['standardize_newlines'] = FALSE;
  20.  
  21. /*
  22. |--------------------------------------------------------------------------
  23. | Global XSS Filtering
  24. |--------------------------------------------------------------------------
  25. |
  26. | Determines whether the XSS filter is always active when GET, POST or
  27. | COOKIE data is encountered
  28. |
  29. | WARNING: This feature is DEPRECATED and currently available only
  30. |          for backwards compatibility purposes!
  31. |
  32. */
  33. $config['global_xss_filtering'] = FALSE;
  34.  
  35. /*
  36. |--------------------------------------------------------------------------
  37. | Cross Site Request Forgery
  38. |--------------------------------------------------------------------------
  39. | Enables a CSRF cookie token to be set. When set to TRUE, token will be
  40. | checked on a submitted form. If you are accepting user data, it is strongly
  41. | recommended CSRF protection be enabled.
  42. |
  43. | 'csrf_token_name' = The token name
  44. | 'csrf_cookie_name' = The cookie name
  45. | 'csrf_expire' = The number in seconds the token should expire.
  46. | 'csrf_regenerate' = Regenerate token on every submission
  47. | 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
  48. */
  49. $config['csrf_protection'] = TRUE;
  50. $config['csrf_token_name'] = 'csrf_token';
  51. $config['csrf_cookie_name'] = 'csrf_cookie_name';
  52. $config['csrf_expire'] = 7200;
  53. $config['csrf_regenerate'] = FALSE;
  54. $config['csrf_exclude_uris'] = array();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top