[eluser]stormbytes[/eluser]
Phil -
First off, thanks for the tip! It worked like a charm, but truthfully, I've come to expect that from Phil Sturgeon
Now for the caveats:
[quote author="Phil Sturgeon" date="1292009005"]Load in the same way but move your libraries into a "libraries" folder.
application/third_party/libraries/curl/Curl.php
Otherwise, how would it know it's a library?
[/quote]
Actually, that's not even a little intuitive. In fact, if anything, the manual is misleading. First off, it makes no mention at all of libraries having to be in a 'libraries' folder. if anything, the opposite is indicated!
Here's an excerpt right from the UG/Loader Class:
Code:
An application package allows for the easy distribution of complete sets of resources in a single directory, complete with its own libraries, models, helpers, config, and language files. It is recommended that these packages be placed in the application/third_party folder. Below is a sample map of an package directory
And here's a sample, showing very clearly that a 'library' is called, while no libraries folder is required:
Code:
$this->load->add_package_path(APPPATH.'third_party/foo_bar/');
$this->load->library('foo_bar');
Finally, any thought on my part that 'Library' might somehow actually mean LIBRARY and not a synonym for 'class' is altogether dispelled by the following:
Code:
Note: We use the terms "class" and "library" interchangeably.
While I know resources are thin nowadays, I think that documentation (especially of v2 features) is just as important to the user community as a sound code base.