modify app config |
Is there any way to dynamically update app config? for example i want to change my appTimezone based on users location.is there a code that can change config globally?
in ci3 we could use config->set_item. please help me to find a way to do this in ci4. please help me
It is not good practice. It is not recommended.
You should not change PHP's timezone. You should change the timezone of the datetime when outputting the datetime for a user. |
Welcome Guest, Not a member yet? Register Sign In |