ultimike, I was super-surprised that I couldn't find an up-to-date, well-written explanation of why and how the #drupal settings.local.php file should be used. So I wrote one.
https://www.drupaleasy.com/blogs/ultimike/2024/02/why-you-should-care-about-using-settingslocalphp
If you're new to Drupal development, or don't already do this - take 2 minutes to get this going.
Add comment