• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Overriding config.php ?

This is my config.php file xss filtering setting.
$config['global_xss_filtering'] = TRUE;
I would like to change it on runtime as
$config['global_xss_filtering'] = FALSE;
This function is not working.
$this->config->set_item('global_xss_filtering', FALSE);
Is it possible? How?

You will probably have to set the config item before you load the desired library. E.g. when the input library is loaded it sets its own xss flag and works according to that and not the config. Therefor overwrite the setting of the library or change the config setting before loading the library!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.