我送使用codeigniters電子郵件幫手(SMTP)與笨發送電子郵件的SMTP時,時間錯誤 - 託管MEDIATEMPLE
郵件被成功傳遞到我的收件箱,但我收到以下錯誤,從我的網站,電子郵件:
A PHP Error was encountered
Severity: Warning
Message: 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. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead
Filename: libraries/Email.php
Line Number: 704
我最近已將我的主機切換到mediatemple,並且之前沒有這樣的消息。我是否需要在某處或時區指定時間格式?
完美!謝謝 – hairynuggets