application/controllers/Qualitycontrol.php
/* 
	* It only redirects to the manage category page
	*/
It only redirects to the manage category page
It only redirects to the manage category page
public function index()
	{
		if(!in_array('viewCategory', $this->permission)) {
			redirect('dashboard', 'refresh');
		}
		$this->render_template('qualitycontrol/index', $this->data);	
	}
public function index ( ) { if ( ! in_array ( 'viewCategory' , $ this -> permission ) ) { redirect ( 'dashboard' , 'refresh' ) ; } $ this -> render_template ( 'qualitycontrol/index' , $ this -> data ) ; }
It only redirects to the manage category page
It only redirects to the manage category page