Skip to content

Commit 2dd808a

Browse files
committed
docs: fix heading level
1 parent 41ad06a commit 2dd808a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

user_guide_src/source/general/configuration.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ One of today's best practices for application setup is to use Environment Variab
6464
Environment Variables should also be used for anything private such as passwords, API keys, or other sensitive data.
6565

6666
Environment Variables and CodeIgniter
67-
*************************************
67+
=====================================
6868

6969
CodeIgniter makes it simple and painless to set Environment Variables by using a "dotenv" file. The term comes from the file name, which starts with a dot before the text "env".
7070

@@ -94,7 +94,7 @@ overwritten. The loaded Environment variables are accessed using any of the foll
9494
.. warning:: Note that your settings from the **.env** file are added to Environment Variables. As a side effect, this means that if your CodeIgniter application is (for example) generating a ``var_dump($_ENV)`` or ``phpinfo()`` (for debugging or other valid reasons) **your secure credentials are publicly exposed**.
9595

9696
Nesting Variables
97-
*****************
97+
=================
9898

9999
To save on typing, you can reuse variables that you've already specified in the file by wrapping the
100100
variable name within ``${...}``:
@@ -106,7 +106,7 @@ variable name within ``${...}``:
106106
TMP_DIR="${BASE_DIR}/tmp"
107107

108108
Namespaced Variables
109-
********************
109+
====================
110110

111111
There will be times when you will have several variables with the same name.
112112
The system needs a way of knowing what the correct setting should be.
@@ -168,7 +168,7 @@ Some environments do not permit variable name with dots. In such case, you could
168168
app_CSPEnabled = true
169169

170170
Environment Variables as Replacements for Data
171-
**********************************************
171+
==============================================
172172

173173
It is very important to always remember that environment variables contained in your **.env** are
174174
**only replacements for existing data**. This means that you cannot expect to fill your **.env** with all
@@ -183,7 +183,7 @@ Simply put, you cannot just put ``app.myNewConfig = foo`` in your **.env** and e
183183
to magically have that property and value at run time.
184184

185185
Treating Environment Variables as Arrays
186-
****************************************
186+
========================================
187187

188188
A namespaced environment variable can be further treated as an array.
189189
If the prefix matches the configuration class, then the remainder of the

0 commit comments

Comments
 (0)