this is my current directory setup.
application
- controllers
- models
- views
- config
- errors
public <-- document root
- images
- js
- css
what i want to do is set it up like this
frontapp
- controllers
- models
- views
membersapp
- controllers
- models
- views
adminapp
- controllers
- models
- views
config
errors
public
this setup would let me have all the controllers, models, and views organized for each section of the application. My question is how can i move the config and errors directories out of the application directory and allow it to be used for each application sections? The only way i see this possible is if i modified the system files but i dont want to do that because updating is going to suck. If there is a better way of doing what i am trying to accomplish let me know as well. thanks
ps: Is what im trying to do referred to as modular?