Showing
1 changed file
with
1 additions
and
1 deletions
@@ -165,7 +165,7 @@ class TemplateLayout implements View_Interface | @@ -165,7 +165,7 @@ class TemplateLayout implements View_Interface | ||
165 | 'flags' => LightnCandy::FLAG_MUSTACHE | LightnCandy::FLAG_HANDLEBARS, // 使用MUSTACHE和HANDLEBARS的模板格式 | 165 | 'flags' => LightnCandy::FLAG_MUSTACHE | LightnCandy::FLAG_HANDLEBARS, // 使用MUSTACHE和HANDLEBARS的模板格式 |
166 | 'basedir' => array($config->template->partials), // 模板里使用 {{> partial_name}} 时查找的目录 | 166 | 'basedir' => array($config->template->partials), // 模板里使用 {{> partial_name}} 时查找的目录 |
167 | 'fileext' => array($tplExt), // 允许查找文件的后缀 | 167 | 'fileext' => array($tplExt), // 允许查找文件的后缀 |
168 | - 'lcrun' => 'Plugin\LCRun3', // 指定编译模板的runtime | 168 | + 'lcrun' => 'WebPlugin\LCRun3', // 指定编译模板的runtime |
169 | )); | 169 | )); |
170 | // 文件流方式读取PHP方法 | 170 | // 文件流方式读取PHP方法 |
171 | $renderer = LightnCandy::prepare($phpStr); | 171 | $renderer = LightnCandy::prepare($phpStr); |
-
Please register or login to post a comment