質問

最初に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';
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top