I’d like to have two config files.
-
The default config.php containing my standard settings and debug true.
-
A config file just for use on the live site with
- avif images (my local server doesn’t support avif images)
- debug false
- ‘url’ set
I’ve named the two files:
config.php
config.example.co.uk.php
But on the live site debug is still set to true
I’m trying to following the info here
But don’t understand what this means
Note that the settings in the standard
config.php
file are always used. If you need different settings in another environment, you will have to override those settings in the domain specific configuration file (or only set those options in your domain specific config file).
Does this mean I can override the config.php settings with my domain specific config file? If so, why is it not working?