Versions:

This document contains information for an outdated version and may not be maintained any more. If some of your projects still use this version, consider upgrading as soon as possible.

Environment Variables

Environment specific variables like database connection details, API keys and other server configuration should be kept outside the application code in a separate _ss_environment.php file. This file is stored outside the web root and version control for security reasons.

For more information on the environment file, see the Environment Management documentation.

Data which isn't sensitive that can be in version control but is mostly static such as constants is best suited to be included through the Configuration API based on the standard environment types (dev / test / live).

Was this article helpful?