Skip to content

Commit

Permalink
[Doc] Fixed the explanation of the sharedFilesAndDirs() option
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed May 26, 2017
1 parent 16bdb01 commit 6395fc6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doc/default-deployer.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ always relative to the project root dir:
* `->templatesDir(string $path = '...')`
* `->webDir(string $path = '...')`

These options configure the files and dirs which are shared between all
releases. The values must be paths relative to the project root dir (which is
usually `kernel.root_dir/../`). Their default values depend on the Symfony
version used by your application:

* `->sharedFiles(array $paths = ['...'])` (by default, `app/config/parameters.yml`
in Symfony 2 and 3 and nothing in Symfony 4)
* `->sharedDirs(array $paths = ['...'])` (by default, the logs/ dir)
This option configures the files and dirs which are shared between all releases.
The values must be paths relative to the project root dir (which is usually
`kernel.root_dir/../`). Its default value depends on the Symfony version used by
your application:

* `->sharedFilesAndDirs(array $paths = ['...'])` (by default,
`app/config/parameters.yml` file in Symfony 2 and 3 and no file in Symfony 4;
and the `app/logs/` dir in Symfony 2 and `var/logs/` in Symfony 3 and 4)

These options enable/disable some operations commonly executed after the
application is installed:
Expand Down

0 comments on commit 6395fc6

Please sign in to comment.