🌐 AI搜索 & 代理 主页
Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Use the real env var name used by Symfony
  • Loading branch information
javiereguiluz committed Jul 17, 2017
commit baf5322e7d264ecb62f6cc240514ef77b6a0a4e8
2 changes: 1 addition & 1 deletion components/dotenv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Use environment variables in values by prefixing variables with ``$``:

# '%kernel.project_dir%' is not resolved, so the value of this
# variable won't be the expected one and the application won't work
DB_URL=sqlite:///%kernel.project_dir%/test.db
DATABASE_URL=sqlite:///%kernel.project_dir%/test.db

Embed commands via ``$()`` (not supported on Windows):

Expand Down