Skip to content

Commit

Permalink
PHAR TemplatedFileGenerator resources path bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph3nol committed Aug 17, 2017
1 parent c74d44d commit 20d5816
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified dist/docker-arch.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Application/TemplatedFileGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class TemplatedFileGenerator implements TemplatedFileGeneratorInterface
*/
public function __construct()
{
$loader = new Twig_Loader_Filesystem(__DIR__.'/../../app/Resources/views');
$loader = new Twig_Loader_Filesystem('app/Resources/views');
$this->templateEngine = new Twig_Environment($loader);
}

Expand Down

0 comments on commit 20d5816

Please sign in to comment.