diff options
author | Derek Jones <derek.jones@ellislab.com> | 2010-03-25 16:08:20 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2010-03-25 16:08:20 +0100 |
commit | f0b3994f51937c643200a0547f70b1fa7d94f88a (patch) | |
tree | d30a6636bc413f9dacbccca13a3f1dd8beffa65a /user_guide | |
parent | 022be04a8262857e1bab9bf65e45817d398c31e6 (diff) |
moved application folder outside of the system folder
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/general/helpers.html | 2 | ||||
-rw-r--r-- | user_guide/general/managing_apps.html | 38 | ||||
-rw-r--r-- | user_guide/general/profiling.html | 2 | ||||
-rw-r--r-- | user_guide/helpers/text_helper.html | 2 | ||||
-rw-r--r-- | user_guide/installation/upgrade_154.html | 6 | ||||
-rw-r--r-- | user_guide/installation/upgrade_160.html | 6 | ||||
-rw-r--r-- | user_guide/installation/upgrade_162.html | 6 | ||||
-rw-r--r-- | user_guide/libraries/javascript.html | 2 | ||||
-rw-r--r-- | user_guide/libraries/jquery.html | 2 | ||||
-rw-r--r-- | user_guide/libraries/language.html | 2 | ||||
-rw-r--r-- | user_guide/libraries/loader.html | 4 |
11 files changed, 36 insertions, 36 deletions
diff --git a/user_guide/general/helpers.html b/user_guide/general/helpers.html index ef24e8c92..5ba1674ca 100644 --- a/user_guide/general/helpers.html +++ b/user_guide/general/helpers.html @@ -69,7 +69,7 @@ Each helper function performs one specific task, with no dependence on other fun <p>CodeIgniter does not load Helper Files by default, so the first step in using a Helper is to load it. Once loaded, it becomes globally available in your <a href="../general/controllers.html">controller</a> and <a href="../general/views.html">views</a>.</p> -<p>Helpers are typically stored in your <dfn>system/helpers</dfn>, or <dfn>system/application/helpers </dfn>directory. CodeIgniter will look first in your <dfn>system/application/helpers</dfn> +<p>Helpers are typically stored in your <dfn>system/helpers</dfn>, or <dfn>application/helpers </dfn>directory. CodeIgniter will look first in your <dfn>application/helpers</dfn> directory. If the directory does not exist or the specified helper is not located there CI will instead look in your global <dfn>system/helpers</dfn> folder.</p> 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> diff --git a/user_guide/general/profiling.html b/user_guide/general/profiling.html index 8622edeb9..f8650314d 100644 --- a/user_guide/general/profiling.html +++ b/user_guide/general/profiling.html @@ -87,7 +87,7 @@ This information can be useful during development in order to help with debuggin <h2>Enabling and Disabling Profiler Sections</h2> - <p>Each section of Profiler data can be enabled or disabled by setting a corresponding config variable to <var>TRUE</var> or <var>FALSE</var>. This can be done one of two ways. First, you can set application wide defaults with the <dfn>system/application/config/profiler.php</dfn> config file.</p> + <p>Each section of Profiler data can be enabled or disabled by setting a corresponding config variable to <var>TRUE</var> or <var>FALSE</var>. This can be done one of two ways. First, you can set application wide defaults with the <dfn>application/config/profiler.php</dfn> config file.</p> <code>$config['config'] = FALSE;<br /> $config['queries'] = FALSE;<br /></code> diff --git a/user_guide/helpers/text_helper.html b/user_guide/helpers/text_helper.html index 9e8f8f5e1..0e075b9dc 100644 --- a/user_guide/helpers/text_helper.html +++ b/user_guide/helpers/text_helper.html @@ -121,7 +121,7 @@ part it should correctly identify characters outside the normal range (like acce <code>$string = convert_accented_characters($string);</code> -<p>This function uses a companion config file <dfn>system/application/config/foreign_chars.php</dfn> to define the to and from array for transliteration.</p> +<p>This function uses a companion config file <dfn>application/config/foreign_chars.php</dfn> to define the to and from array for transliteration.</p> <h2>word_censor()</h2> diff --git a/user_guide/installation/upgrade_154.html b/user_guide/installation/upgrade_154.html index 5e4468668..b1bc8bb89 100644 --- a/user_guide/installation/upgrade_154.html +++ b/user_guide/installation/upgrade_154.html @@ -67,7 +67,7 @@ Upgrading from 1.5.3 to 1.5.4 <ul> -<li><dfn>system/application/config/mimes.php</dfn></li> +<li><dfn>application/config/mimes.php</dfn></li> <li><dfn>system/codeigniter</dfn></li> <li><dfn>system/database</dfn></li> <li><dfn>system/helpers</dfn></li> @@ -78,7 +78,7 @@ Upgrading from 1.5.3 to 1.5.4 <p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p> <h2>Step 2: Add charset to your config.php </h2> -<p>Add the following to system/application/config/config.php</p> +<p>Add the following to application/config/config.php</p> <code>/*<br /> |--------------------------------------------------------------------------<br /> | Default Character Set<br /> @@ -91,7 +91,7 @@ Upgrading from 1.5.3 to 1.5.4 $config['charset'] = "UTF-8";</code> <h2>Step 3: Autoloading language files </h2> -<p>If you want to autoload any language files, add this line to system/application/config/autoload.php</p> +<p>If you want to autoload any language files, add this line to application/config/autoload.php</p> <code>$autoload['language'] = array();</code> <h2>Step 4: Update your user guide</h2> diff --git a/user_guide/installation/upgrade_160.html b/user_guide/installation/upgrade_160.html index e817e245e..5568f8ca2 100644 --- a/user_guide/installation/upgrade_160.html +++ b/user_guide/installation/upgrade_160.html @@ -78,10 +78,10 @@ Upgrading from 1.5.4 to 1.6.0 <p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p> <h2>Step 2: Add time_to_update to your config.php </h2> -<p>Add the following to system/application/config/config.php with the other session configuration options</p> +<p>Add the following to application/config/config.php with the other session configuration options</p> <p><code>$config['sess_time_to_update'] = 300;</code></p> <h2>Step 3: Add $autoload['model']</h2> -<p>Add the following to system/application/config/autoload.php</p> +<p>Add the following to application/config/autoload.php</p> <p><code> /*<br /> | -------------------------------------------------------------------<br /> | Auto-load Model files<br /> @@ -94,7 +94,7 @@ Upgrading from 1.5.4 to 1.6.0 <br /> $autoload['model'] = array();</code></p> <h2>Step 4: Add to your database.php </h2> -<p>Make the following changes to your system/application/config/database.php file:</p> +<p>Make the following changes to your application/config/database.php file:</p> <p>Add the following variable above the database configuration options, with <dfn>$active_group</dfn></p> <p><code>$active_record = TRUE;</code></p> <p>Remove the following from your database configuration options</p> diff --git a/user_guide/installation/upgrade_162.html b/user_guide/installation/upgrade_162.html index fd34ab087..c9eb2bfe0 100644 --- a/user_guide/installation/upgrade_162.html +++ b/user_guide/installation/upgrade_162.html @@ -78,12 +78,12 @@ Upgrading from 1.6.1 to 1.6.2 <h2>Step 2: Encryption Key</h2> -<p>If you are using sessions, open up system/application/config/config.php and verify you've set an encryption key.</p> +<p>If you are using sessions, open up application/config/config.php and verify you've set an encryption key.</p> <h2>Step 3: Constants File</h2> -<p>Copy /system/application/config/constants.php to your installation, and modify if necessary.</p> +<p>Copy /application/config/constants.php to your installation, and modify if necessary.</p> <h2>Step 4: Mimes File</h2> -<p>Replace /system/application/config/mimes.php with the dowloaded version. If you've added custom mime types, you'll need to re-add them.</p> +<p>Replace /application/config/mimes.php with the dowloaded version. If you've added custom mime types, you'll need to re-add them.</p> <h2>Step 5: Update your user guide</h2> <p>Please also replace your local copy of the user guide with the new version.</p> diff --git a/user_guide/libraries/javascript.html b/user_guide/libraries/javascript.html index 08982fd08..ac0af840d 100644 --- a/user_guide/libraries/javascript.html +++ b/user_guide/libraries/javascript.html @@ -79,7 +79,7 @@ Input and Security Class </code></p> <p>$library_src, is where the actual library file will be loaded, as well as any subsequent plugin script calls; $script_head is where specific events, functions and other commands will be rendered.</p> <h3>Set the path to the librarys with config items</h3> -<p>There are some configuration items in javascript library. These can either be set in system/application/config.php, within its own confg/javascript.php file, or within any controller usings the set_item() function. </p> +<p>There are some configuration items in javascript library. These can either be set in application/config.php, within its own confg/javascript.php file, or within any controller usings the set_item() function. </p> <p>An image to be used as an "ajax loader", or progress indicator. Without one, the simple text message of "loading" will appear when Ajax calls need to be made.</p> <p><code>$config['javascript_location'] = 'http://localhost/codeigniter/themes/js/jquery/');<br /> $config['javascript_ajax_img'] = 'images/ajax-loader.gif';</code></p> diff --git a/user_guide/libraries/jquery.html b/user_guide/libraries/jquery.html index 98c9a9cb3..69b8389a0 100644 --- a/user_guide/libraries/jquery.html +++ b/user_guide/libraries/jquery.html @@ -81,7 +81,7 @@ Input and Security Class <p><code><?php echo $jquery_script;?><br /> <?php echo $script_head;?></code></p> -<p>There are 2 configuration items in jQuery library. These can either be set in system/application/config.php, or within any controller. The first is the path from the root of your site to the jquery library ('js' is the default) and the second is an image to be used as an "ajax loader", or progress indicator. Without one, the simple text message of "loading" will appear when Ajax calls need to be made.</p> +<p>There are 2 configuration items in jQuery library. These can either be set in application/config.php, or within any controller. The first is the path from the root of your site to the jquery library ('js' is the default) and the second is an image to be used as an "ajax loader", or progress indicator. Without one, the simple text message of "loading" will appear when Ajax calls need to be made.</p> <p><code>$config['javascript_folder'] = 'js';<br /> $config['javascript_ajax_img'] = 'images/ajax-loader.gif';</code></p> diff --git a/user_guide/libraries/language.html b/user_guide/libraries/language.html index 9e50901a0..ee78c765a 100644 --- a/user_guide/libraries/language.html +++ b/user_guide/libraries/language.html @@ -64,7 +64,7 @@ Language Class your own language files as needed in order to display error and other messages in other languages.</p> <p>Language files are typically stored in your <dfn>system/language</dfn> directory. Alternately you can create a folder called <kbd>language</kbd> inside -your <kbd>application</kbd> folder and store them there. CodeIgniter will look first in your <dfn>system/application/language</dfn> +your <kbd>application</kbd> folder and store them there. CodeIgniter will look first in your <dfn>application/language</dfn> directory. If the directory does not exist or the specified language is not located there CI will instead look in your global <dfn>system/language</dfn> folder.</p> diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html index ce693e0b8..98520e77c 100644 --- a/user_guide/libraries/loader.html +++ b/user_guide/libraries/loader.html @@ -187,14 +187,14 @@ it will instead return the data as a string.</p> <h2>Application "Packages"</h2> -<p>An application package allows for the easy distribution of complete sets of resources in a single directory, complete with its own libraries, models, helpers, config, and language files. It is recommended that these packages be placed in the <dfn>system/application/third_party</dfn> folder. Below is a sample map of an package directory</p> +<p>An application package allows for the easy distribution of complete sets of resources in a single directory, complete with its own libraries, models, helpers, config, and language files. It is recommended that these packages be placed in the <dfn>application/third_party</dfn> folder. Below is a sample map of an package directory</p> <h2>Sample Package "Foo Bar" Directory Map</h2> <p>The following is an example of a directory for an application package named "Foo Bar".</p> -<code>/system/application/third_party/foo_bar<br /> +<code>/application/third_party/foo_bar<br /> <br /> config/<br /> helpers/<br /> |