admin panel edit
This commit is contained in:
@ -20,7 +20,11 @@ class Dashboard extends CI_Controller {
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$adm_template = 'sb_admin';
|
||||
$this->template->load('admin/' . $adm_template);
|
||||
$tpl = config_item('admin_template');
|
||||
$tpl_path = 'admin/' . $tpl . '/';
|
||||
$data = array(
|
||||
'tpl_path' => $tpl_path
|
||||
);
|
||||
$this->load->view($tpl_path . 'index',$data);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user