Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #29533 Fixed public directory when configured in composer.json (a…
…lexander-schranz) This PR was merged into the 3.4 branch. Discussion ---------- Fixed public directory when configured in composer.json | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT As documented you should be able to change the public-dir by composer.json so the server:run and assets:install should also use that configuration when available: https://symfony.com/doc/3.4/configuration/override_dir_structure.html#override-the-web-directory https://symfony.com/doc/current/configuration/override_dir_structure.html#override-the-public-directory #SymfonyConHackDay2018 Commits ------- c45062b fixed public directory of web server and assets install when configured in composer.json
- Loading branch information
Showing
4 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/Symfony/Bundle/WebServerBundle/Tests/DependencyInjection/composer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "test-composer.json", | ||
"extra": { | ||
"public-dir": "test" | ||
} | ||
} |