[development] Patching settings.php

Frando (Franz Heinzmann) frando at xcite-online.de
Thu Aug 3 11:39:35 UTC 2006


Gerhard Killesreiter schrieb:
> Earl Miles wrote:
>> Jeremy Epstein wrote:
>>> Hi guys,
>>> http://drupal.org/cvs?file=/sites/default/settings.php
>>
>> The root cause of this is the installer, which writes directly to 
>> settings.php.
> 
> The problem is that the installer writes to the file in 
> default/settings.php. The installer should create an appropriate 
> subdiretory /mydomain and then copy the settings.php file there and 
> write to the copy.
> 
> To quote Steven "if we are going to have an installer we might as well 
> do it right". :p
> 
> Cheers,
>     Gerhard
> 
Yes, I did also wonder about that. Actually, we *should* do it right, 
which means letting the installer create a new directory in sites/ and 
copying settings.php there.


More information about the development mailing list