• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Load two config file in one controller

#2
Simultaneously implies at the same moment and you cannot do anything "at the same moment" in PHP.

But you can load multiple config files, it just has to be done one at a time.
For example:

$this->config->load('some_config');
$this->config->load('other_config');

Read the Config Class documentation for loads of ways to use config files.
Reply


Messages In This Thread
RE: Load two config file in one controller - by dave friend - 10-19-2019, 10:19 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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