File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ define your own templates directory (or directories):
104104 # app/config/config.yml
105105 twig :
106106 # ...
107- paths : ["%kernel.root_dir%/.. /templates"]
107+ paths : ["%kernel.project_dir% /templates"]
108108
109109 .. code-block :: xml
110110
@@ -119,7 +119,7 @@ define your own templates directory (or directories):
119119 http://symfony.com/schema/dic/twig/twig-1.0.xsd" >
120120
121121 <twig : config >
122- <twig : path >%kernel.root_dir%/.. /templates</twig : path >
122+ <twig : path >%kernel.project_dir% /templates</twig : path >
123123 </twig : config >
124124
125125 </container >
@@ -129,7 +129,7 @@ define your own templates directory (or directories):
129129 // app/config/config.php
130130 $container->loadFromExtension('twig', array(
131131 'paths' => array(
132- '%kernel.root_dir%/.. /templates',
132+ '%kernel.project_dir% /templates',
133133 ),
134134 ));
135135
@@ -197,7 +197,7 @@ You also need to change the ``extra.symfony-web-dir`` option in the
197197 http://symfony.com/schema/dic/assetic/assetic-1.0.xsd" >
198198
199199 <!-- ... -->
200- <assetic : config read-from =" %kernel.root_dir%/.. /../public_html" />
200+ <assetic : config read-from =" %kernel.project_dir% /../public_html" />
201201
202202 </container >
203203
You can’t perform that action at this time.
0 commit comments