新版的ET 采用了多文件结构,与旧版不同。

  1. template.ease.php        调用此文件来声明et引擎
  2. template.core.php        核心运算处理单元
  3. template.error.php       错误提示单元(中文包),如果没有这个文件系统提示则为英文

调用et示例:

<?php
include"template.ease.php";    //调用et

$tl = new template();         //声明et

?>