summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2014-09-20 08:48:27 +0200
committervlakoff <vlakoff@gmail.com>2014-09-20 08:48:27 +0200
commit891855d79986b21158907f85c74c81660b3091b4 (patch)
tree3382e8266e19a9ab9a50b997cc37e23bb4f2696b /user_guide_src
parentf186e1f0af1dc0941b21e1667ff2a22f739a0dcb (diff)
Fix examples in documentation
Diffstat (limited to 'user_guide_src')
-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');
}
}