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):
104
104
# app/config/config.yml
105
105
twig :
106
106
# ...
107
- paths : ["%kernel.root_dir%/.. /templates"]
107
+ paths : ["%kernel.project_dir% /templates"]
108
108
109
109
.. code-block :: xml
110
110
@@ -119,7 +119,7 @@ define your own templates directory (or directories):
119
119
http://symfony.com/schema/dic/twig/twig-1.0.xsd" >
120
120
121
121
<twig : config >
122
- <twig : path >%kernel.root_dir%/.. /templates</twig : path >
122
+ <twig : path >%kernel.project_dir% /templates</twig : path >
123
123
</twig : config >
124
124
125
125
</container >
@@ -129,7 +129,7 @@ define your own templates directory (or directories):
129
129
// app/config/config.php
130
130
$container->loadFromExtension('twig', array(
131
131
'paths' => array(
132
- '%kernel.root_dir%/.. /templates',
132
+ '%kernel.project_dir% /templates',
133
133
),
134
134
));
135
135
@@ -197,7 +197,7 @@ You also need to change the ``extra.symfony-web-dir`` option in the
197
197
http://symfony.com/schema/dic/assetic/assetic-1.0.xsd" >
198
198
199
199
<!-- ... -->
200
- <assetic : config read-from =" %kernel.root_dir%/.. /../public_html" />
200
+ <assetic : config read-from =" %kernel.project_dir% /../public_html" />
201
201
202
202
</container >
203
203
You can’t perform that action at this time.
0 commit comments