From d2df9bc7cc9d4b3e53818470c5d0977c9a36677c Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sun, 15 Apr 2007 17:41:17 +0000 Subject: update pMachine to EllisLab update copyright year update Code Igniter to CodeIgniter --- user_guide/libraries/config.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'user_guide/libraries/config.html') diff --git a/user_guide/libraries/config.html b/user_guide/libraries/config.html index eeec28c73..79f064c2e 100644 --- a/user_guide/libraries/config.html +++ b/user_guide/libraries/config.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -71,7 +71,7 @@ come from the default config file (application/config/config.php) o

Anatomy of a Config File

-

By default, Code Igniter has a one primary config file, located at application/config/config.php. If you open the file using +

By default, CodeIgniter has a one primary config file, located at application/config/config.php. If you open the file using your text editor you'll see that config items are stored in an array called $config.

You can add your own config items to @@ -79,12 +79,12 @@ this file, or if you prefer to keep your configuration items separate (assuming simply create your own file and save it in config folder.

Note: If you do create your own config files use the same format as the primary one, storing your items in -an array called $config. Code Igniter will intelligently manage these files so there will be no conflict even though +an array called $config. CodeIgniter will intelligently manage these files so there will be no conflict even though the array has the same name (assuming an array index is not named the same as another).

Loading a Config File

-

Note: Code Igniter automatically loads the primary config file (application/config/config.php), +

Note: CodeIgniter automatically loads the primary config file (application/config/config.php), so you will only need to load a config file if you have created your own.

There are two ways to load a config file:

@@ -181,7 +181,7 @@ Previous Topic:  Calendaring ClassUser Guide Home   ·   Next Topic:  Database Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

-- cgit v1.2.3-24-g4f1b