浏览代码

fix inclusion from templates in content folder

master
Dom SP 3 年前
父节点
当前提交
7727ee3eb0
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      app/modules/filesinfolders.php

+ 1
- 2
app/modules/filesinfolders.php 查看文件

@@ -142,8 +142,7 @@ class FilesInFolders {
);
}
foreach($this->structs[$domain_key]['tpl'] as $key=>$file) {
$str = file_get_contents($file);
$str = \Template::instance()->render($file);
$str = \Template::instance()->render(substr($file,7));
$str = self::linkify($str);
$this->content[$domain][$key."00tpl"] = sprintf(
"<div class=\"item %s %s\">%s</div>",

正在加载...
取消
保存