summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/config.rst
diff options
context:
space:
mode:
authorftwbzhao <b.zhao1@gmail.com>2015-05-07 12:05:33 +0200
committerftwbzhao <b.zhao1@gmail.com>2015-05-08 12:32:53 +0200
commitc836f2af72536733fa1cc990b46522b9ef16153e (patch)
treea55162c05277665fa17ce5609ddb6aed1d749852 /user_guide_src/source/libraries/config.rst
parent433c1a756f8c7ab9bc16e4721f98fee6faaee240 (diff)
update userguide
Diffstat (limited to 'user_guide_src/source/libraries/config.rst')
-rw-r--r--user_guide_src/source/libraries/config.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/libraries/config.rst b/user_guide_src/source/libraries/config.rst
index 3138e3403..a45cacdf5 100644
--- a/user_guide_src/source/libraries/config.rst
+++ b/user_guide_src/source/libraries/config.rst
@@ -92,9 +92,9 @@ Fetching Config Items
To retrieve an item from your config file, use the following function::
- $this->config->item('item name');
+ $this->config->item('item_name');
-Where item name is the $config array index you want to retrieve. For
+Where item_name is the $config array index you want to retrieve. For
example, to fetch your language choice you'll do this::
$lang = $this->config->item('language');