From 60aa8e3f5b536dbc46568310c46005c6d0d1466c Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean Date: Mon, 9 Sep 2024 14:35:32 +0700 Subject: [PATCH 1/2] docs: improve Factories --- user_guide_src/source/concepts/factories.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/concepts/factories.rst b/user_guide_src/source/concepts/factories.rst index f98fd1726e38..4520d3a8cb43 100644 --- a/user_guide_src/source/concepts/factories.rst +++ b/user_guide_src/source/concepts/factories.rst @@ -334,14 +334,14 @@ Set the following property to ``true`` in **app/Config/Optimize.php**:: public bool $configCacheEnabled = true; -Since v4.5.0, you can enable this with the ``spark optimize`` command. +Or you can enable this with the ``spark optimize`` command. .. note:: This property cannot be overridden by :ref:`environment variables `. .. note:: - Prior to v4.5.0, uncomment the following code in **public/index.php**:: + Prior to v4.4.x, uncomment the following code in **public/index.php**:: --- a/public/index.php +++ b/public/index.php From b1d044e3581990d5d5dbf61d8fdf970dd1e462fe Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean Date: Tue, 10 Sep 2024 09:02:02 +0700 Subject: [PATCH 2/2] fix: only v4.4.x config must set manually --- user_guide_src/source/concepts/factories.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/concepts/factories.rst b/user_guide_src/source/concepts/factories.rst index 4520d3a8cb43..aaf7df459c6d 100644 --- a/user_guide_src/source/concepts/factories.rst +++ b/user_guide_src/source/concepts/factories.rst @@ -341,7 +341,7 @@ Or you can enable this with the ``spark optimize`` command. :ref:`environment variables `. .. note:: - Prior to v4.4.x, uncomment the following code in **public/index.php**:: + In v4.4.x, uncomment the following code in **public/index.php**:: --- a/public/index.php +++ b/public/index.php