[Runtime] Expose project_dir as APP_PROJECT_DIR env var#62190
Merged
nicolas-grekas merged 1 commit intosymfony:7.4from Oct 28, 2025
Merged
[Runtime] Expose project_dir as APP_PROJECT_DIR env var#62190nicolas-grekas merged 1 commit intosymfony:7.4from
project_dir as APP_PROJECT_DIR env var#62190nicolas-grekas merged 1 commit intosymfony:7.4from
Conversation
6fd4007 to
b3a1f18
Compare
javiereguiluz
approved these changes
Oct 28, 2025
xabbuh
approved these changes
Oct 28, 2025
yceruto
approved these changes
Oct 28, 2025
This was referenced Oct 28, 2025
This was referenced Nov 2, 2025
Merged
Merged
nicolas-grekas
added a commit
that referenced
this pull request
Nov 21, 2025
… directory (nicolas-grekas) This PR was merged into the 7.4 branch. Discussion ---------- [FrameworkBundle] Make `APP_*_DIR` relative to the project directory | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | #62395 | License | MIT Relying on `APP_PROJECT_DIR` as introduced in #62190 has issues, like #62395 This PR resolves paths configured via `APP_*_DIR` relatively to the project-directory. This makes things much more predictable and removes the need to rely on `APP_PROJECT_DIR`. Commits ------- fb7b391 [FrameworkBundle] Make `APP_*_DIR` relative to the project directory
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The goal of this PR is to enable adding the last line in this
.envsnippet thanks to flex recipes: