remove_package_path([$path = ''])
Parameters: |
|
---|---|
Returns: |
CI_Loader instance (method chaining) |
Return type: |
CI_Loader |
When your controller is finished using resources from an application package, and particularly if you have other application packages you want to work with, you may wish to remove the package path so the Loader no longer looks in that directory for resources. To remove the last path added, simply call the method with no parameters.
Or to remove a specific package path, specify the same path previously given to add_package_path()
for a package.:
$this->load->remove_package_path(APPPATH.'third_party/foo_bar/');
Please login to continue.