diff --git a/user_guide_src/source/database/configuration.rst b/user_guide_src/source/database/configuration.rst index b80c10ede526..128e28d9eeef 100644 --- a/user_guide_src/source/database/configuration.rst +++ b/user_guide_src/source/database/configuration.rst @@ -105,6 +105,8 @@ within the class' constructor: .. literalinclude:: configuration/008.php +.. _database-config-with-env-file: + ************************** Configuring with .env File ************************** diff --git a/user_guide_src/source/general/configuration.rst b/user_guide_src/source/general/configuration.rst index 4e8c2940d996..45ecce84108d 100644 --- a/user_guide_src/source/general/configuration.rst +++ b/user_guide_src/source/general/configuration.rst @@ -237,6 +237,8 @@ expect your ``Config\App`` to magically have that property and value at run time When you have the property ``$default = ['encrypt' => false]`` in your ``Config\Database``, you cannot change the ``encrypt`` value to an array even if you put ``database.default.encrypt.ssl_verify = true`` in your **.env**. +If you want to do like that, see +:ref:`Database Configuration `. Treating Environment Variables as Arrays ========================================