Pārlūkot izejas kodu

fix inclusion from templates in content folder

master
Dom SP pirms 3 gadiem
vecāks
revīzija
7727ee3eb0
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. +1
    -2
      app/modules/filesinfolders.php

+ 1
- 2
app/modules/filesinfolders.php Parādīt failu

@@ -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>",

Notiek ielāde…
Atcelt
Saglabāt