Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 6395fc6

Browse files
committed
[Doc] Fixed the explanation of the sharedFilesAndDirs() option
1 parent 16bdb01 commit 6395fc6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

doc/default-deployer.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,14 @@ always relative to the project root dir:
153153
* `->templatesDir(string $path = '...')`
154154
* `->webDir(string $path = '...')`
155155

156-
These options configure the files and dirs which are shared between all
157-
releases. The values must be paths relative to the project root dir (which is
158-
usually `kernel.root_dir/../`). Their default values depend on the Symfony
159-
version used by your application:
160-
161-
* `->sharedFiles(array $paths = ['...'])` (by default, `app/config/parameters.yml`
162-
in Symfony 2 and 3 and nothing in Symfony 4)
163-
* `->sharedDirs(array $paths = ['...'])` (by default, the logs/ dir)
156+
This option configures the files and dirs which are shared between all releases.
157+
The values must be paths relative to the project root dir (which is usually
158+
`kernel.root_dir/../`). Its default value depends on the Symfony version used by
159+
your application:
160+
161+
* `->sharedFilesAndDirs(array $paths = ['...'])` (by default,
162+
`app/config/parameters.yml` file in Symfony 2 and 3 and no file in Symfony 4;
163+
and the `app/logs/` dir in Symfony 2 and `var/logs/` in Symfony 3 and 4)
164164

165165
These options enable/disable some operations commonly executed after the
166166
application is installed:

0 commit comments

Comments
 (0)