public function __construct() { parent::__construct(); $this->smarty->template_dir = WEB_PATH . 'html/templates/ticket'; //设置本功能所有页面的模板路径 }
/** * 构造函数 */ public function __construct() { parent::__construct(); }