Hello,

I just asked myself if it would be useful to have drupal core differ between two settings for a local and a remote installation, e.g. a settings.local.php and an settings.php file where one can set the different data for his development installation and his live installation.

should not be that much work to implement but saves a little work for users.

regards
roger

Comments

philippejadin’s picture

This can be done most of the time. Your local server will have a "domain" like http://localhost/xyz and your remote server will have http://domain.com/

So you can put your local settings.php file inside /sites/localhost and the other inside /sites/domain

hth

rogerpfaff’s picture

how simple life can be. :)