Uncomment override of settings.local.php as default

Created on 6 May 2023, over 1 year ago
Updated 7 May 2023, over 1 year ago

Problem/Motivation

Currently default.settings.php allows for use of a settings.local.php - but this code is commented and expectation is, once the site is installed someone will tweak the settings.php file to uncomment these lines if required.

#
# if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
# include $app_root . '/' . $site_path . '/settings.local.php';
# }

In some workflows for eg. the docker workflow where we mount a settings.local.php file will not work by default unless the settings file is first modified.

Proposed resolution

If the settings.local.php file is present it should override settings, as such the lines should not be commented as the code is conditional anyways.

Feature request
Status

Closed: duplicate

Version

10.0

Component
Configuration 

Last updated 1 day ago

Created by

🇬🇧United Kingdom nidash

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024