Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libraries in subfolders not loading properly #2202

Closed
kutothe opened this issue Jan 28, 2013 · 2 comments
Closed

Libraries in subfolders not loading properly #2202

kutothe opened this issue Jan 28, 2013 · 2 comments

Comments

@kutothe
Copy link

kutothe commented Jan 28, 2013

I think the recent changes to the way libraries are loaded broke support for library subfolders. I have a library in a subfolder that I'm loading like so:

// file is at libraries/subfolder/My_library.php
$this->load->library('subfolder/my_library');

I get:

Unable to load the requested class: My_library

If I move it out of the subfolder and into the libraries folder, it loads just fine.

narfbg added a commit that referenced this issue Jan 28, 2013
@narfbg
Copy link
Contributor

narfbg commented Jan 28, 2013

How about now?

@kutothe
Copy link
Author

kutothe commented Jan 28, 2013

Perfect. You rock! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants