public function __construct() { parent::__construct(); $this->load->library("CiSmarty"); $this->load->library('CiPage'); //定义后台模版路径 //$this->cismarty->assign("THEMEPATH", "/application/themes/admin/default"); }
public function __construct() { parent::__construct(); $this->load->library("CiSmarty"); $this->load->library('CiPage'); //定义后台模版路径 $this->cismarty->assign("THEMEPATH", "/application/" . THEME_ADMIN); //取得当前按钮 $this->load->helper("admin_menu"); $this->cismarty->assign("admin_menu", admin_menu()); $this->load->helper("common"); }