Skip to content

Commit

Permalink
Merge pull request #251 from Krinkle/restore-twig
Browse files Browse the repository at this point in the history
Restore Twig template path
  • Loading branch information
markstory authored Jan 3, 2019
2 parents bd1ba8e + aed8f7a commit 7b993b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Xhgui/ServiceContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ protected function _slimApp()
// Configure Twig view for slim
$view = new Twig();

$view->twigTemplateDirs = array(dirname(__DIR__) . '/templates');
$view->parserOptions = array(
'charset' => 'utf-8',
'cache' => $cacheDir,
Expand Down

0 comments on commit 7b993b0

Please sign in to comment.