Project

General

Profile

Actions

Bug #26779

closed

phpTimeZone not working

Added by Todd Hossack over 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2011-05-12
Due date:
% Done:

100%

Estimated time:
0.01 h
TYPO3 Version:
4.5
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

There's a bug in the php time zone implementation - set in t3lib/config_default.php and overridden in localconf.php.

The timeZone variable used to set the default timezone takes the value from TYPO3_CONF_VARS[phpTimeZone], which does not exist. It needs to be corrected to TYPO3_CONF_VARS[SYS][phpTimeZone].

The effect is that the time zone for Typo3 is always set to the server time zone and is not set by the localconf.php / Install Tool value of phpTimeZone.
This looks like it may have been an issue since phpTimeZone was added.

See patch attached for simple fix.


Files

config_default_patch.txt (725 Bytes) config_default_patch.txt Todd Hossack, 2011-05-12 11:15
Actions

Also available in: Atom PDF