diff options
Diffstat (limited to 'user_guide/general/managing_apps.html')
-rw-r--r-- | user_guide/general/managing_apps.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/user_guide/general/managing_apps.html b/user_guide/general/managing_apps.html index babed5f64..9f23de4b9 100644 --- a/user_guide/general/managing_apps.html +++ b/user_guide/general/managing_apps.html @@ -58,7 +58,7 @@ Managing your Applications <h1>Managing your Applications</h1> <p>By default it is assumed that you only intend to use CodeIgniter to manage one application, which you will build in your -<dfn>system/application/</dfn> directory. It is possible, however, to have multiple sets of applications that share a single +<dfn>application/</dfn> directory. It is possible, however, to have multiple sets of applications that share a single CodeIgniter installation, or even to rename or relocate your <dfn>application</dfn> folder.</p> <h2>Renaming the Application Folder</h2> @@ -83,29 +83,29 @@ To do so open your main <kbd>index.php</kbd> and set a <em>full server path</em> put all of the directories located inside your <kbd>application</kbd> folder into their own sub-folder.</p> -<p>For example, let's say you want to create two applications, "foo" and "bar". You will structure your -application folder like this:</p> - -<code>system/application/<var>foo</var>/<br /> -system/application/<var>foo</var>/config/<br /> -system/application/<var>foo</var>/controllers/<br /> -system/application/<var>foo</var>/errors/<br /> -system/application/<var>foo</var>/libraries/<br /> -system/application/<var>foo</var>/models/<br /> -system/application/<var>foo</var>/views/<br /> -system/application/<samp>bar</samp>/<br /> -system/application/<samp>bar</samp>/config/<br /> -system/application/<samp>bar</samp>/controllers/<br /> -system/application/<samp>bar</samp>/errors/<br /> -system/application/<samp>bar</samp>/libraries/<br /> -system/application/<samp>bar</samp>/models/<br /> -system/application/<samp>bar</samp>/views/</code> +<p>For example, let's say you want to create two applications, "foo" and "bar". You could structure your +application folders like this:</p> + +<code>applications/<var>foo</var>/<br /> +applications/<var>foo</var>/config/<br /> +applications/<var>foo</var>/controllers/<br /> +applications/<var>foo</var>/errors/<br /> +applications/<var>foo</var>/libraries/<br /> +applications/<var>foo</var>/models/<br /> +applications/<var>foo</var>/views/<br /> +applications/<samp>bar</samp>/<br /> +applications/<samp>bar</samp>/config/<br /> +applications/<samp>bar</samp>/controllers/<br /> +applications/<samp>bar</samp>/errors/<br /> +applications/<samp>bar</samp>/libraries/<br /> +applications/<samp>bar</samp>/models/<br /> +applications/<samp>bar</samp>/views/</code> <p>To select a particular application for use requires that you open your main <kbd>index.php</kbd> file and set the <dfn>$application_folder</dfn> variable. For example, to select the "foo" application for use you would do this:</p> -<code>$application_folder = "application/foo";</code> +<code>$application_folder = "applications/foo";</code> <p class="important"><strong>Note:</strong> Each of your applications will need its own <dfn>index.php</dfn> file which calls the desired application. The index.php file can be named anything you want.</p> |