开发者

Zend Framework: Is config.ini read before resource bootstraps?

开发者 https://www.devze.com 2023-02-07 18:29 出处:网络
I am setting a default timezone (UTC) in my config.ini then in my Bootstrap, if user is lo开发者_如何学Gogged in, set default timezone (date_default_timezone_set()) to the logged in user timezone. So

I am setting a default timezone (UTC) in my config.ini then in my Bootstrap, if user is lo开发者_如何学Gogged 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


Your .ini file is read before your bootstrap file.

0

精彩评论

暂无评论...
验证码 换一张
取 消