[TYPO3-dev] splitting localconf
Steffen Kamper
info at sk-typo3.de
Tue Sep 30 10:54:47 CEST 2008
Hi Ernesto,
Ernesto Baschny [cron IT] schrieb:
>
> You can already do that, in fact we have been doing that for ages now.
> We even include a /var/www/shared/localconf-4.2.php that includes paths
> to binaries for "all" typo3 installations that are running on a single
> machine (eases upgrading or "switching" distributioNS). Just use
> "include()" in your localconf.php as usual. No need to "merge" or TYPO3
> even to know about it.
>
> About the terminology, I get your point, but the distinction we usually
> make is this:
>
> 1) machine specific configuration (paths, im-settings), which can be
> shared along "all" TYPO3 installations on a single machine.
>
> 2) site specific, but machine dependant specific settings (db-settings,
> maybe development settings, i.e. devMask, displayErrors, etc).
>
> 3) site specific configuration (which influence the workings of your
> specific site, no matter on which host it is running.
>
> And we set it up on those files:
>
> /var/www/shared/localconf.php = 1)
> typo3conf/localconf.local.php = 2)
> typo3conf/localconf.php = 3), which includes 1) and 2)
>
> We maintain 3) in CVS, to keep it in sync between different environments
> (this file will also be updated by the install tool and ext manager. We
> manually move stuff to localconf.local.php when required.
>
> Cheers,
> Ernesto
thx for sharing your concept.
The only missing thing is the update from installer or EM so you have to
copy that stuff manually. Would be nice if there are categories so you
can specify where to store which settings match to the category :-)
vg Steffen
More information about the TYPO3-dev
mailing list