[TYPO3-core] RFC #11587: PHP Warnings concerning missing timezone settings under PHP 5.3
Rupert Germann
rupi at gmx.li
Wed Nov 4 20:01:46 CET 2009
Hi,
this is a SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=11587
Branches: Trunk
Problem:
On systems running PHP 5.3 with a php.ini that does not contain a value
for "date.timezone" the following warning is displayed in the Backend
(e.g. in the list module): Warning: date() [function.date]: It is not
safe to rely on the system's timezone settings. You are *required* to
use the date.timezone setting or the date_default_timezone_set()
function.....
Solution:
add a new conf vars parameter "phpDateTimeZone" which allows admins to
set the timezone (default is "CET"). This is the same as
"serverTimeZone" which is also set to CET (GMT+1) by default.
greets
rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11587.diff
Type: text/x-diff
Size: 3767 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091104/c4ba0f76/attachment.diff>
More information about the TYPO3-team-core
mailing list