diff options
author | Timothy Warren <tim@timshomepage.net> | 2011-09-13 17:24:30 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2011-09-13 17:24:30 +0200 |
commit | 8ee6c9379023df6594581e70827ba6196b3a2165 (patch) | |
tree | 132a98413f34d44a9e4bd6f2d184691ee203a6b9 /user_guide/libraries/loader.html | |
parent | 770c8677207be0a9091456b8d763bfd0e5456606 (diff) | |
parent | 869e3721d75e9798a706d24d93170f44e5ab6cb3 (diff) |
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop
Diffstat (limited to 'user_guide/libraries/loader.html')
-rw-r--r-- | user_guide/libraries/loader.html | 4 |
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> |