EllisLab/CodeIgniter — Issue #711: Typo in user_guide/libraries/loader
Author: philtem
Created: 2011-11-25 07:44:27+00:00
State: open

Reference to last section __Package view files__.

The user-guide says
> To ensure against this, set an optional second parameter of FALSE when calling add_package_path().

but the demo-code below uses TRUE as second argument in both examples. Shouldn't it be FALSE in the second?

At the moment the user_guide promotes the following
```$this->load->add_package_path(APPPATH.'my_app', TRUE);
...
$this->load->add_package_path(APPPATH.'my_app', TRUE);
...
```

But I think it's supposed to be
```$this->load->add_package_path(APPPATH.'my_app', TRUE);
...
$this->load->add_package_path(APPPATH.'my_app', FALSE); // turn the second argument to false
...
```