Skip to content

Commit

Permalink
Добавлена совместимость с twig 1.27
Browse files Browse the repository at this point in the history
  • Loading branch information
mmjurov committed Oct 28, 2016
1 parent df086f9 commit f1f9e6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Maximaster/Tools/Twig/BitrixLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public function getSource($name)
return file_get_contents($this->getSourcePath($name));
}

protected function findTemplate($name)
{
return $this->getSourcePath($name);
}

/** {@inheritdoc} */
public function getCacheKey($name)
{
Expand Down

0 comments on commit f1f9e6d

Please sign in to comment.