• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Config files loaded twice, also How to separate Applications but share things

#4
(04-09-2017, 11:03 AM)ciadmin Wrote: CodeIgniter automatically loads the main config file ... https://www.codeigniter.com/user_guide/l...onfig-file
Your "require_once" conflicts with that.

If you want to over-ride config items, perhaps https://www.codeigniter.com/user_guide/l...onfig-item

Your admin vs application question is an entirely different issue ... I'm going to sit back and wait for the HMVC flame wars to reignite Undecided

Thank you for replying,
So basically my assumption that CI checks if a config file is already loaded to prevent loading it again is wrong.

(04-09-2017, 11:59 AM)ivantcholakov Wrote: Three application on a same platform:
https://github.com/ivantcholakov/starter...plications

Common code and configuration that these applications share:
https://github.com/ivantcholakov/starter...orm/common

Good enough? You need to integrate Ion Auth alone though.

Thank you,
Awesome Examples.
Reply


Messages In This Thread
RE: Config files loaded twice, also How to separate Applications but share things - by noobie - 04-09-2017, 02:30 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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