diff options
author | Andrey Andreev <narf@devilix.net> | 2015-05-12 11:04:52 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-05-12 11:04:52 +0200 |
commit | abbd31f466ad5b921e37498f7c6d7069bf3255b3 (patch) | |
tree | a1706f669e1897b71453cd72c428bbb843eee829 /user_guide_src/source/libraries | |
parent | 5bd7e0188d5a61f3be9a8531531d3103cbb44e66 (diff) | |
parent | c836f2af72536733fa1cc990b46522b9ef16153e (diff) |
Merge pull request #3842 from ftwbzhao/feature/lasttime
[ci skip] Minor userguide corrections
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r-- | user_guide_src/source/libraries/caching.rst | 2 | ||||
-rw-r--r-- | user_guide_src/source/libraries/config.rst | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/user_guide_src/source/libraries/caching.rst b/user_guide_src/source/libraries/caching.rst index 1fc1b5bfb..a7081ec6b 100644 --- a/user_guide_src/source/libraries/caching.rst +++ b/user_guide_src/source/libraries/caching.rst @@ -66,7 +66,7 @@ Class Reference hosting environment. :: - if ($this->cache->apc->is_supported() + if ($this->cache->apc->is_supported()) { if ($data = $this->cache->apc->get('my_cache')) { 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'); |