Problem/Motivation
A follow up to this issue: #2384675: Deprecate conf_path()
drupal_install_config_directories() tries to determine the config paths using string literals, like this:
if (empty($config_directories[CONFIG_ACTIVE_DIRECTORY])) {
$settings['config_directories'][CONFIG_ACTIVE_DIRECTORY] = (object) [
'value' => \Drupal::service('site.path') . '/files/config_' . $config_directories_hash . '/active',
'required' => TRUE,
];
}
Which is fine except that the user can change the public:// directory in settings.php, and it might not be sites/files/.
Proposed resolution
Remaining tasks
User interface changes
API changes
Comments
Comment #9
quietone commenteddrupal_install_config_directories was deprecated in Drupal 8.8.0, #2980712: Define config directory in settings
Closing as outdated.