تاريخ البريد الإلكتروني في الرأس (Codeigniter) هو 7 ساعات عطلة

StackOverflow https://stackoverflow.com/questions/3876045

سؤال

عندما نتلقى بريدًا من موقعنا ، من خلال Codeigniter أولاً ، فإن تطبيقات Google (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