Commit 1f9956a1 authored by Avris's avatar Avris

Use composer's "path", extract Http

parent 4d03d6a2
......@@ -5,7 +5,7 @@ use Twig\Loader\FilesystemLoader;
final class Loader extends FilesystemLoader
{
protected function findTemplate($name)
protected function findTemplate($name, $throw = true)
{
return parent::findTemplate(strpos($name, '.') === false ? $name . '.html.twig' : $name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment