SilverStripe uses a global config system to store settings for classes and the application. These config variables can be used to define the structure of Models, security settings on Controllers or API keys for third party services.
Config
values are populated by the SS_ConfigStaticManifest
during a dev/build
and cache flush (appending ?flush
to any URL`) or on first ever run of the application code.
The SS_ConfigStaticManifest
will scan all PHP classes and YAML config files for any config values and build a cache of these values.
When making change to
Config
settings via YAML orprivate static
variables, you'll need to flush the cache for these changes to take effect.