تاريخ البريد الإلكتروني في الرأس (Codeigniter) هو 7 ساعات عطلة
-
28-09-2019 - |
سؤال
عندما نتلقى بريدًا من موقعنا ، من خلال 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';
لا تنتمي إلى StackOverflow