diff options
author | Darren Hill <dchill42@gmail.com> | 2011-09-12 13:57:04 +0200 |
---|---|---|
committer | Darren Hill <dchill42@gmail.com> | 2011-09-12 13:57:04 +0200 |
commit | 00fcb545109d4e61bc14e403ec828749c34a54b3 (patch) | |
tree | 336473d0e3a85ce90cc463784f631c3d52462605 /user_guide/libraries/loader.html | |
parent | 826675178c2c2ad697e5ac55161645abd9143bef (diff) | |
parent | 869e3721d75e9798a706d24d93170f44e5ab6cb3 (diff) |
Updated cookie driver to latest develop changes
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> |