I am setting a default timezone (UTC) in my config.ini then in my Bootstrap, if user is logged in, set default timezone ( date_default_timezone_set()
) to the logged in user timezone. So I will have to know which is read 1st. If app config is read later, it will override the value I set in Bootstrap
您的.ini文件在引导文件之前被读取。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.