Index: t3lib/config_default.php =================================================================== --- t3lib/config_default.php (Revision 6331) +++ t3lib/config_default.php (Arbeitskopie) @@ -310,6 +310,12 @@ if (!@is_file(PATH_typo3conf.'localconf.php')) die('localconf.php is not found!'); require(PATH_typo3conf.'localconf.php'); +// Set timezone +if (date_default_timezone_get() == '') { + // Defaults to UTC to avoid PHP 5.3 warnings (behaviour like PHP <5.3) + date_default_timezone_set('UTC'); +} + // Defining the database setup as constants define('TYPO3_db', $typo_db); define('TYPO3_db_username', $typo_db_username);