[TYPO3-dev] splitting localconf
Lars Haendler
typo3 at larshaendler.com
Tue Sep 30 14:30:51 CEST 2008
Steffen Kamper wrote:
> Hi,
>
> while mirror a site to my local computer i got an idea and want to get
> some feedback from you.
>
> There are mainly two parts in localconf:
> * local conf (db-settings, im-settings)
> * global conf (ext-settings, TYPO3_CONF_VARS - parts of it, etc)
>
> What's about having a localconf.local.php which is included by localconf?
> That would allow to overwrite the localconf.php by one of the online
> site without overwriting the local settings.
>
> The cached file could merge both files, so there is no impact having 2
> files when cache is enabled.
>
> vg Steffen
I have a similar feature on the blueshoes framework. I personally
dislike it because every coder has his own config file. After some
development time you'll get - depending on the amount of developers and
systems - three, four, five or even more config files.
Moreover you create more possibilities for errors. Just my opinion ;-)
Cheers
Lars
More information about the TYPO3-dev
mailing list