From c9e2b10f08a3c718e52e287e2dd14b880e4e3057 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 12 Jul 2007 12:14:45 +0000 Subject: added language files to autoload --- user_guide/changelog.html | 15 ++++++++------- user_guide/general/autoloader.html | 1 + user_guide/libraries/language.html | 9 +++------ 3 files changed, 12 insertions(+), 13 deletions(-) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index d8ffd8b19..0456be34e 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -65,11 +65,12 @@ Change Log

Version 1.5.4

Release Date: -- Still under development

To autoload resources, open the application/config/autoload.php file and add the item you want diff --git a/user_guide/libraries/language.html b/user_guide/libraries/language.html index 6a74cc963..7cc74b61d 100644 --- a/user_guide/libraries/language.html +++ b/user_guide/libraries/language.html @@ -115,12 +115,9 @@ is the language set containing it (ie, english). If the second parameter is mis

Where language_key is the array key corresponding to the line you wish to show.

Note: This function simply returns the line. It does not echo it for you.

- - - - - - +

Auto-loading Languages

+

If you find that you need a particular language globally throughout your application, you can tell CodeIgniter to auto-load it during system initialization. This is done by opening the application/config/autoload.php file and adding the language(s) to the autoload array.

+

 

-- cgit v1.2.3-24-g4f1b