Jiew Meng
Jiew Meng

Reputation: 88207

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

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

Upvotes: 0

Views: 437

Answers (1)

sanders
sanders

Reputation: 10898

Your .ini file is read before your bootstrap file.

Upvotes: 1

Related Questions