Skip to content

Commit a7e64b6

Browse files
committed
Added composer changes
1 parent 76a0014 commit a7e64b6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cookbook/configuration/override_dir_structure.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,19 @@ may need to modify the paths inside these files::
9191
require_once __DIR__.'/../Symfony/app/bootstrap.php.cache';
9292
require_once __DIR__.'/../Symfony/app/AppKernel.php';
9393

94+
Since Symfony 2.1 (in which Composer is introduced), you also need to change
95+
the ``extra.symfony-web-dir`` option in the ``composer.json`` file:
96+
97+
.. code-block:: json
98+
99+
{
100+
...
101+
"extra": {
102+
...
103+
"symfony-web-dir": "my_new_web_dir"
104+
}
105+
}
106+
94107
.. tip::
95108

96109
Some shared hosts have a ``public_html`` web directory root. Renaming

0 commit comments

Comments
 (0)