[eluser]web_developer[/eluser]
Hello
I am using CI 2.1 and I have to do multiple application. So I have changed the directory structure like below.
| system
| public_html
| frontend
| admin
| mobile
| ipad
| core_lib
| config
- database.php <--- Common Database for all applications
| libraries
| helpers
| models
Here, Frontend, Admin, Mobile, iPad is my application folder and "core_lib" is common sharing directory for "models","libraries","helpers","database"
Now my question is that in my all applications, How can I autoload the database file from core_lib/config? for that I have to do changes in "system/Db.php"? or is there any alternative way to do overwrite?