Example #1
0
 protected function display($tplFile = null, $cacheTime = null, $cachePath = null, $stat = false, $contentType = "text/html", $charset = "", $show = true)
 {
     //验证模板文件
     //		if (is_file($tplFile) && is_readable($tplFile)) {
     $cacheDir = $this->cacheDir;
     parent::display($tplFile, $cacheTime, $cacheDir);
     //		}
 }
Example #2
0
 /**
  * 调用模板
  */
 protected function display($tplFile = null, $cacheTime = null, $cachePath = null, $stat = false, $contentType = "text/html", $charset = "", $show = true)
 {
     //验证模板文件
     if (is_file($tplFile) && is_readable($tplFile)) {
         //设置缓存目录
         $cachePath = $this->get_cache_path();
         parent::display($tplFile, $cacheTime, $cachePath);
     }
 }