Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions reference/configuration/kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,14 @@ have deleted it entirely (for example in the production servers), override the
}
}

This project directory is also available through the ``APP_PROJECT_DIR`` environment
variable. This variable is read-only, so you cannot override it to change the project
directory. Instead, use the ``Kernel::getProjectDir()`` method shown above.

.. versionadded:: 7.4

The ``APP_PROJECT_DIR`` environment variable was introduced in Symfony 7.4.

.. _configuration-kernel-runtime-environment:

``kernel.runtime_environment``
Expand Down