Skip to content

Commit

Permalink
docs: add notes for environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Mar 7, 2024
1 parent 49c4522 commit 5ceaf06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions user_guide_src/source/concepts/autoloader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,7 @@ How to Enable FileLocator Caching
Set the following property to ``true`` in **app/Config/Optimize.php**::

public bool $locatorCacheEnabled = true;

.. note::
This property cannot be overridden by
:ref:`environment variables <configuration-classes-and-environment-variables>`.
4 changes: 4 additions & 0 deletions user_guide_src/source/concepts/factories.rst
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ Set the following property to ``true`` in **app/Config/Optimize.php**::

public bool $configCacheEnabled = true;

.. note::
This property cannot be overridden by
:ref:`environment variables <configuration-classes-and-environment-variables>`.

.. note::
Prior to v4.5.0, uncomment the following code in **public/index.php**::

Expand Down

0 comments on commit 5ceaf06

Please sign in to comment.