/conf/_local.php is not included in the b2evolution distribution. However, if you create it, it will be loaded after all other configuration files.
Use this file for local configurations that you do not want to overwrite in case of an automatic upgrade.
- The fact that it is loaded last makes it great for overriding any other configuration variables, especially for testing.
- The fact that the file is not include by default make it great for keeping persistent configuration changes, even after an upgrade where all other configuration files are replaced by new versions.
We recommend that you copy/paste all your edits to the other configuration files into this file prior to upgrading.
_local.phpis the new preferred way of configuring local configuration in b2evolution v6 (instead of using
overrides-test-php). If your already have a file named
/conf/overrides-test-php, rename it to
/conf/_local.php. Only ONE file will be loaded. Not both. Avoid having both files!