[eluser]Billy Khan[/eluser]
When using the security helper, do we need to load the security library? like so?
Code:
$this->load->library('security');
$this->load->helper('security');
This throws an error:
Code:
$this->load->helper('security');
$x = xss_clean("hello");
To make it work i have to do this:
Code:
$this->load->library('security');
$this->load->helper('security');
$x = xss_clean("hello");
This is CI 2.0 with global xss filtering turned off.
Am i using the security helper incorrectly? I assume the helper would load the library.