Welcome Guest, Not a member yet? Register   Sign In
modify app config
#1
Smile 

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
Reply
#2

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB