Codeigniter CSRF question Codeigniter CSRF question codeigniter codeigniter

Codeigniter CSRF question


Create a pre_system hook then put the following code inside your hook controller:

if(stripos($_SERVER["REQUEST_URI"],'/controller/function') !== FALSE){    $CFG =& load_class('Config', 'core');    $CFG->set_item('csrf_protection', FALSE);}

Reference: http://codeigniter.com/forums/viewreply/869900/