skip to content

CodeIgniter Libraries in subfolders

August 12th, 2008

Quietly last night CodeIgniter gained the oft-requested ability to load libraries from subfolders.

Added the ability to store libraries in subdirectories within either the main “libraries” or the local application “libraries” folder.

Many more good things abound in CI-land.

This entry was made on August 12th, 2008 @ 6:38 and filed into CodeIgniter.

Comments

Jakob Buis wrote on August 12th, 2008 @ 6:51

Nice! I never use that much libraries, but it sound as a good addition :)

P.S. You should allow users to edit their posts..

Martin Wernstahl wrote on August 12th, 2008 @ 9:33

YAY!!!
Now I can place IgnitedRecord in the libraries folder, where it belongs.

PS. Is CI 2.0 around the corner? :P

Matthew Glinski wrote on September 06th, 2008 @ 17:26

ooh, so when can we expect deep controller loading(currently limited to one folder :( ). I really would like to logically organize my app before its widespread release. While 2 levels are ofter enough I often write a controller i would like inside a folder inside another folder and here is a specific example:
JSON AJAX API, I have a regular api folder holding all of my user api controllers, but i want to make an admin js API too. my admin controllers are already in an admin controller and admin/api/* never gets found by CI.

-Matt
/end wordy post

Post a Comment

Sorry, comments are automatically closed after 45 days, or sooner if one entry gets targetted by spammers. Why not contact me directly?