Timezones are completely disabled when PHP safe mode is
enabled, which should not be the case if the TZ
environment variable is allowed. When safe mode is on,
safe_mode_allowed_env_vars should be checked to see if
it contains TZ, in which case timezones will work fine.
Log in to post a comment.