ヘッダー(CodeIgniter)の電子メール日付は7時間です
-
28-09-2019 - |
質問
最初にCodeigniterを介してWebサイトからメールを受け取ると、Google Apps(Mailer) - ヘッダーの日付はリアルタイムに7時間遅れます。
サーバーの時間を確認しましたが、正しく設定されています。
誰かがこの問題を経験しましたか?
ありがとう!
解決
それはこの設定と関係があるかもしれません system/application/config/config.php
:
/*
|--------------------------------------------------------------------------
| Master Time Reference
|--------------------------------------------------------------------------
|
| Options are "local" or "gmt". This pref tells the system whether to use
| your server's local time as the master "now" reference, or convert it to
| GMT. See the "date helper" page of the user guide for information
| regarding date handling.
|
*/
$config['time_reference'] = 'local';
所属していません StackOverflow