...

World Wide Web Server 2012-07-04 16:03:46 -07:00
parent 59a1baa514
commit 5669d6b770

@ -24,7 +24,7 @@ For the following examples, we'll create two applications.
[size=4][color=red]Method #1 - Application Subfolders[/color][/size]
Inside the [color=blue]/system/[/color] folder lives the [color]/application/[/color], by default. The User Guide describes a technique for having multiple applications by following this process.
Inside the [color=blue]/system/[/color] folder lives the [color=blue]/application/[/color], by default. The User Guide describes a technique for having multiple applications by following this process.
Duplicate the contents of your [color=blue]/application/[/color] folder, and put the copies into separate subfolders, so you may end up with this layout:
[code]
@ -71,4 +71,12 @@ There are some final points I'd like to include.
CodeIgniter suggests putting the files into the webroot of your website, because that colors the widest range of web servers in use today. However, many servers have the webroot as a subfolder of the account folder. This lets you store files outside the webroot, primarily for added security. Those files won't be accessible through a web browser, but they will be accessible to your PHP code.
Therefore, you can technically move your entire [color=blue]/system/[/color] and [color=blue]/application/[/color] folders out of the webroot, while leaving the [color=blue]index.php[/color] file in the webroot (obviously). You just need to adjust the settings in the index file to map correctly and you're all set.
Therefore, you can technically move your entire [color=blue]/system/[/color] and [color=blue]/application/[/color] folders out of the webroot, while leaving the [color=blue]index.php[/color] file in the webroot (obviously). You just need to adjust the settings in the index file to map correctly and you're all set.
[code]
/application/
/frontend/
/backend/
/system/
/webroot/
index.php
[/code]