From 3287913ce9cca23e55ab1adf94ec8012f4938f3e Mon Sep 17 00:00:00 2001 From: Jared Chesebro Date: Thu, 23 Mar 2023 13:43:17 -0700 Subject: [PATCH] Add note about placement of .env.php file --- docs/advanced-usage/env-support.md | 6 +++++- docs/contributors.md | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/advanced-usage/env-support.md b/docs/advanced-usage/env-support.md index ed3797395..2a5780307 100644 --- a/docs/advanced-usage/env-support.md +++ b/docs/advanced-usage/env-support.md @@ -8,7 +8,11 @@ --> # ENV File Support -Config files can also be configured using [PHP Environment variables ($_ENV)](https://www.php.net/manual/en/reserved.variables.environment.php). To utilize this, create a file named `.env.php` in the root of your ExpressionEngine install. Add variables to your `.env.php` file as illustrated below: +Config files can also be configured using [PHP Environment variables ($_ENV)](https://www.php.net/manual/en/reserved.variables.environment.php). To utilize this, create a file named `.env.php` in the root of your ExpressionEngine install. + +NOTE: The `.env.php` file must be placed in same directory as the `system` directory. If you move the `system` directory above the webroot you must also move `.env.php`. + +Add variables to your `.env.php` file as illustrated below: ``` DB_HOSTNAME=localhost diff --git a/docs/contributors.md b/docs/contributors.md index 5ea192e9a..bdb358e45 100644 --- a/docs/contributors.md +++ b/docs/contributors.md @@ -25,6 +25,7 @@ This is a list of all who have contributed content or source code to the Express
  • JCOGS Design

    @jcogs-design

  • Jace Richardson

    @obfuscode

  • Jack McDade

    @jackmcdade

  • +
  • Jared Chesebro

    @jaredchesebro

  • Jeradsdesign

    @jeradsdesign

  • Jordan Ellis

    @Jordan-Ellis