From e4a3b1c07a9fbfe73d8007fda3d1541cc875e256 Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Sat, 5 Aug 2023 12:19:24 +0200 Subject: [PATCH] Typo in cache dir env var explanation --- configuration/override_dir_structure.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configuration/override_dir_structure.rst b/configuration/override_dir_structure.rst index 7528c250729..2a5df047611 100644 --- a/configuration/override_dir_structure.rst +++ b/configuration/override_dir_structure.rst @@ -67,7 +67,7 @@ Console script:: Web front-controller:: // public/index.php - + // ... $_SERVER['APP_RUNTIME_OPTIONS']['dotenv_path'] = 'another/custom/path/to/.env'; @@ -109,8 +109,8 @@ In this code, ``$this->environment`` is the current environment (i.e. ``dev``). In this case you have changed the location of the cache directory to ``var/{environment}/cache/``. -You can also change the cache directory defining an environment variable named -``APP_CACHE_DIR`` whose value is the full path of the cache folder. +You can also change the cache directory by defining an environment variable +named ``APP_CACHE_DIR`` whose value is the full path of the cache folder. .. caution::