CodeIgniter Dry Navigation
问题 My boss told me make dry navigation dont use repetitive code, for navigation i am trying to extend CI_Controler and with construct load header nav, body, footer files. My question is when i create new controller and when i try to load different view files, how to achive that??? my extended controler class MY_Controller extends CI_Controller { public function __construct() { parent::__construct(); $this->load->view('view_header'); $this->load->view('includes/nav_home'); $this->load->view('view