I\'ve just been looking at php\'s autoload() function. Seems a nice idea, but I\'m not sure how it handles multiple directories. My current development basically has a libra
Unfortunately, you do have to explicitly add each directory. This can either be done programmatically in a script that recursively traverses your directories, or you can specify a list.
Probably the most efficient way is to specify a list of directories and subdirectories to search, and add these to your 'include_path' using ini_set().