Merge pull request #371 from romainneutron/twig-cache

[3.8] Fix Twig cache directory path
This commit is contained in:
Romain Neutron
2013-05-30 09:13:21 -07:00

View File

@@ -265,7 +265,7 @@ class Application extends SilexApplication
$this->register(new TokensServiceProvider()); $this->register(new TokensServiceProvider());
$this->register(new TwigServiceProvider(), array( $this->register(new TwigServiceProvider(), array(
'twig.options' => array( 'twig.options' => array(
'cache' => realpath(__DIR__ . '/../../../../../../tmp/cache_twig/'), 'cache' => realpath(__DIR__ . '/../../../tmp/cache_twig/'),
), ),
'twig.form.templates' => array('login/common/form_div_layout.html.twig') 'twig.form.templates' => array('login/common/form_div_layout.html.twig')
)); ));