diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-01-12 04:44:22 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-01-12 04:44:22 +0300 |
commit | ff9e415fb23ae06aa68a73e2c3dcf32ff092444b (patch) | |
tree | 5aa0963d3283010a14e67107736f218765dd2005 /core/Twig.php | |
parent | 636d5400a7aee9fff5b3966b06c5d4e248ce825c (diff) |
Simplified get from container with new shorter method
Diffstat (limited to 'core/Twig.php')
-rwxr-xr-x | core/Twig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php index 1127d47a60..221236002a 100755 --- a/core/Twig.php +++ b/core/Twig.php @@ -65,7 +65,7 @@ class Twig $chainLoader = new Twig_Loader_Chain($loaders); // Create new Twig Environment and set cache dir - $templatesCompiledPath = StaticContainer::getContainer()->get('path.tmp') . '/templates_c'; + $templatesCompiledPath = StaticContainer::get('path.tmp') . '/templates_c'; $this->twig = new Twig_Environment($chainLoader, array( |