Skip to content

Commit b63b625

Browse files
committed
docs: add link to how-to page
1 parent 72a1d16 commit b63b625

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

user_guide_src/source/database/configuration.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ within the class' constructor:
105105

106106
.. literalinclude:: configuration/008.php
107107

108+
.. _database-config-with-env-file:
109+
108110
**************************
109111
Configuring with .env File
110112
**************************

user_guide_src/source/general/configuration.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ expect your ``Config\App`` to magically have that property and value at run time
237237
When you have the property ``$default = ['encrypt' => false]`` in your
238238
``Config\Database``, you cannot change the ``encrypt`` value to an array even if
239239
you put ``database.default.encrypt.ssl_verify = true`` in your **.env**.
240+
If you want to do like that, see
241+
:ref:`Database Configuration <database-config-with-env-file>`.
240242

241243
Treating Environment Variables as Arrays
242244
========================================

0 commit comments

Comments
 (0)