Skip to content

Commit b0ba128

Browse files
committed
docs: add "The Defined Environments"
1 parent 96cffc2 commit b0ba128

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

user_guide_src/source/general/environments.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,20 @@ tools loaded that you don't in production environments, etc.
1313
:local:
1414
:depth: 2
1515

16+
************************
17+
The Defined Environments
18+
************************
19+
20+
By default, CodeIgniter has three environments defined.
21+
22+
- ``production`` for production
23+
- ``development`` for development
24+
- ``testing`` for PHPUnit testing
25+
26+
The environment ``testing`` is reserved for PHPUnit testing. It has special
27+
conditions built into the framework at various places to assist with that.
28+
You can't use it for your development.
29+
1630
.. _environment-constant:
1731

1832
The ENVIRONMENT Constant

0 commit comments

Comments
 (0)