*/ class MY_Input extends CI_Input { public function __construct() { log_message('debug', "Input Class Initialized"); $this->_allow_get_array = (config_item('allow_get_array') === true); $this->_enable_csrf = (config_item('csrf_protection') === true); $router =& load_class('Router'); if ($router->class == 'programs') { $this->_enable_xss = false; } else { $this->_enable_xss = (config_item('global_xss_filtering') === true); } global $SEC; $this->security =& $SEC; // do we need the UTF-8 class? if (UTF8_ENABLED === true) { global $UNI; $this->uni =& $UNI; } // sanitize global arrays $this->_sanitize_globals(); } } /* End of file MY_Input.php */ /* Location: ./application/core/MY_Input.php */