mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-18 05:18:05 -04:00
XSS clean Messages, tidied up Home, Login, No_access and Secure_area, removed unused Controllers (#39)
This commit is contained in:
@@ -6,11 +6,14 @@ class No_Access extends CI_Controller
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
function index($module_id='',$permission_id='')
|
||||
public function index($module_id = '', $permission_id = '')
|
||||
{
|
||||
$data['module_name']=$this->Module->get_module_name($module_id);
|
||||
$data['permission_id']=$permission_id;
|
||||
$this->load->view('no_access',$data);
|
||||
$data['module_name'] = $this->Module->get_module_name($module_id);
|
||||
$data['permission_id'] = $permission_id;
|
||||
|
||||
$data = $this->security->xss_clean($data);
|
||||
|
||||
$this->load->view('no_access', $data);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user