[TYPO3-dev] Deploy localconf.php from test to live system
Christian Opitz
christian.opitz at netzelf.de
Sun Oct 31 08:49:02 CET 2010
Hi,
i'm very interested in a solution for that problem too. In other
applications like Zend Framework I've seen the possibility to define an
environment and environment based settings. With that approach it's even
possible to define your environment in the htaccess:
#.htaccess:
SetEnv TYPO3_ENV development
//index.php
defined('TYPO3_ENV')
|| define('TYPO3_ENV', (getenv('TYPO3_ENV') ? getenv('TYPO3_ENV') :
'production'));
//localconf.php
$TYPO3_CONF_VARS['ENV']['development']['EXT']['extList'] = ...
$TYPO3_CONF_VARS['EXT']['extList'] = ...
TYPO3 would then just need to merge the settings.
Cheers,
Christian
Am 28.10.2010 10:33, schrieb Stefan Geith:
> Am 28.10.2010 10:19, schrieb Steffen Müller:
>> Summing up our goal is:
>> We are looking for a place to configure stuff _after_ localconf.php and
>> _before_ extensions get loaded.
>> The goal is to have a (foolproof) control of these setting:
>> $TYPO3_CONF_VARS['EXT']['extConf']
>> $TYPO3_CONF_VARS['EXT']['extList']
>> $TYPO3_CONF_VARS['EXT']['extList_FE']
>>
>> Looking at config_default.php, it does not exist. Nicos patch seems to
>> be a solution. IMHO it seems others might also find it useful,
>
> +1
>
> Waiting for this quite some time ;)
>
> /Stefan
>
More information about the TYPO3-dev
mailing list