[TYPO3-dev] Deploy localconf.php from test to live system

Stefan Geith typo3dev2010.nospam1 at geithware.de
Mon Nov 8 10:44:25 CET 2010


> BUT:
> this does not work with sheduler tasks, because .htaccess is not used
> with CLI...
> Any idea, where I could add this definition more easily than
> directly in the crontab ?

I mean, in crontab, I have set
    /usr/bin/php -d TYPO3_ENV=preview /var/www/...

and in localconf.php an additional line with ini_get():
    defined('TYPO3_ENV') || define('TYPO3_ENV', (ini_get('TYPO3_ENV') ? 
ini_get('TYPO3_ENV') : 'UNCONFIGURED !!!!!'));


/Stefan




More information about the TYPO3-dev mailing list