summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-09-20 20:39:20 +0200
committerAndrey Andreev <narf@devilix.net>2014-09-20 20:39:20 +0200
commita3de292b1876d3af592512001c92bfb1a38c4ac8 (patch)
tree3382e8266e19a9ab9a50b997cc37e23bb4f2696b /user_guide_src/source
parentf186e1f0af1dc0941b21e1667ff2a22f739a0dcb (diff)
parent891855d79986b21158907f85c74c81660b3091b4 (diff)
Merge pull request #3245 from vlakoff/documentation
Fix examples in documentation
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/general/ancillary_classes.rst2
-rw-r--r--user_guide_src/source/general/creating_libraries.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/general/ancillary_classes.rst b/user_guide_src/source/general/ancillary_classes.rst
index edb3a14fb..f9b6ba231 100644
--- a/user_guide_src/source/general/ancillary_classes.rst
+++ b/user_guide_src/source/general/ancillary_classes.rst
@@ -78,7 +78,7 @@ Example::
public function bar()
{
- $this->CI->config_item('base_url');
+ $this->CI->config->item('base_url');
}
}
diff --git a/user_guide_src/source/general/creating_libraries.rst b/user_guide_src/source/general/creating_libraries.rst
index a1e1b3e78..0e3ae4c85 100644
--- a/user_guide_src/source/general/creating_libraries.rst
+++ b/user_guide_src/source/general/creating_libraries.rst
@@ -170,7 +170,7 @@ methods, you're encouraged to assign it to a property instead::
public function bar()
{
- echo $this->CI->config_item('base_url');
+ echo $this->CI->config->item('base_url');
}
}