-
Notifications
You must be signed in to change notification settings - Fork 0
Multiple Applications
[size=200][color=red]Managing Multiple Applications[/color][/size]
CodeIgniter is distributed with one application in mind, but is ready to accommodate multiple applications on a given site. However, because the /application/ folder is inside of the /system/ folder, this leads some to think you need to have multiple installations of the system files.
Support for multiple applications is simply a matter of: [quote]
- having multiple application folders
- having one front controller (index.php) per application, or some other crafty way of mimicking this. [/quote]
Let's start by reviewing CodeIgniter's default file layout (as of v1.5.3). When you download the distribution and extract the archive, you end up with this layout: [code] CodeIgniter_x.x.x/ license.txt -- the usage licence agreement index.php -- your front controller, to be installed in the webroot of your site. system -- this is where the magic is user_guide -- a copy of the User Guide for offline/local reference [/code]