Welcome Guest, Not a member yet? Register   Sign In
Config files loaded twice, also How to separate Applications but share things
#4

(This post was last modified: 04-09-2017, 02:37 PM by noobie.)

(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



Theme © iAndrew 2016 - Forum software by © MyBB