admin panel edit
This commit is contained in:
15
application/controllers/admin/Product.php
Normal file
15
application/controllers/admin/Product.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Product extends CI_Controller {
|
||||
|
||||
public function index()
|
||||
{
|
||||
$tpl = config_item('admin_template');
|
||||
$tpl_path = 'admin/' . $tpl . '/';
|
||||
$data = array(
|
||||
'tpl_path' => $tpl_path
|
||||
);
|
||||
$this->load->view($tpl_path . 'product',$data);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user