I've played with CI4 and I don't know where is the proper place to mention mistakes in the documentation and errors in CI itself. A few problems that I've found:
- The correct place of .env files is not the /application directory, but the root directory (where the composer.json lives).
- $_ENV global variable and getenv function works normally, but if I try to use them in the Database config I get the following error:
Fatal error: Constant expression contains invalid operations in /media/sf_code/ci4.dev/gitroot/ci4/application/Config/Database.php