summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/loader.html
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2011-10-05 19:24:45 +0200
committerDerek Jones <derek.jones@ellislab.com>2011-10-05 19:24:45 +0200
commit044a5221843cc2d88b936f3e658a1df4bc28cfe2 (patch)
tree9845376e277aa822c41835c8ca8bc94a4cf23756 /user_guide/libraries/loader.html
parent47a62548cfdcd5fb6588a2caa92d3b55ac05de6f (diff)
parentd1ecd5cd4ae6ab5d37df9fbda14b93977b9e743c (diff)
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop
Diffstat (limited to 'user_guide/libraries/loader.html')
-rw-r--r--user_guide/libraries/loader.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html
index af27176ad..98864a700 100644
--- a/user_guide/libraries/loader.html
+++ b/user_guide/libraries/loader.html
@@ -241,9 +241,9 @@ $this->load->library('foo_bar');</code>
<p>In this instance, it is possible for view naming collisions within packages to occur, and possibly the incorrect package being loaded. To ensure against this, set an optional second parameter of <var>FALSE</var> when calling <samp>add_package_path()</samp>.</p>
<code>
-$this->load->add_package_path(APPPATH.'my_app', TRUE);<br>
+$this->load->add_package_path(APPPATH.'my_app', FALSE);<br>
$this->load->view('my_app_index'); // Loads<br>
-$this->load->view('welcome_message'); // Will not load the default welcome_message b/c the second param to add_package_path is TRUE<br>
+$this->load->view('welcome_message'); // Will not load the default welcome_message b/c the second param to add_package_path is FALSE<br>
<br>
// Reset things<br>
$this->load->remove_package_path(APPPATH.'my_app');<br>