Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
标题中的电子邮件日期(CodeIgniter)为7小时_Codeigniter_Email_Mailer - Fatal编程技术网

标题中的电子邮件日期(CodeIgniter)为7小时

标题中的电子邮件日期(CodeIgniter)为7小时,codeigniter,email,mailer,Codeigniter,Email,Mailer,当我们从我们的网站收到邮件时,首先是通过CodeIgniter,然后是谷歌应用程序(mailer)——标题中的日期比实际时间晚7小时 我们已经检查了服务器时间,并且设置正确 有没有人遇到过这个问题 谢谢 它可能与system/application/config/config.php中的此设置有关: /* |-------------------------------------------------------------------------- | Master Time Refere

当我们从我们的网站收到邮件时,首先是通过CodeIgniter,然后是谷歌应用程序(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';

它可能与
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';