in the configuration management page the examples reference setting CONCRETE_ENV but the codebase still uses CONCRETE5_ENV
The 8.x branch docs do mention CONCRETE5_ENV: Environment Specific Variables/Config :: Concrete CMS
Branding changed around the 9.0 releases, but I’ll check the codebase to see when its use actually changed.