• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change base config dynamic?

#1
How to change base config dynamic?
In Ci3 If you would like to dynamically set a config item or change an existing one, you can do so using:

Code:
$this->config->set_item('item_name', 'item_value');

Can I dynamically set the controller to Ci4? 
Example: $defaultLocale, $supportedLocales, $appTimezone
Reply


Messages In This Thread
How to change base config dynamic? - by ramstudio - 01-09-2019, 12:15 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.