Add new comment

James Oakley's picture
Submitted by James Oakley on

Yes, that works. Simply include the default.settings.php file, and then add what you need to customise.

I don't actually put my database credentials in settings.php. They go in settings.local.php, so if that was all I used settings.php for, the file would be very small - just the include statement.

Thanks for this alternative. I'm sure it will help some, as it's certainly cleaner and simpler to set up. I think the reason I prefer the approach I use is that the comments documenting each entry in settings.php are very helpful, and there's something accessible about having all the configurable options and their docs in place. But advantages both ways, and I like yours too.

Additional Terms