include new dir and its sub-dir


i created a new dir in protected called modules. (protected/modules)

so in modules dir, i will have different modules sub dir with their respective files. to include a file, i understand i can do this in main.php config file:

// autoloading model, component classes, modules





but this only include files in the top dir and will not dive into the sub-dir.

so how can i include sub-dir and the files within them??

You need to specify all the sub-dir…

ok got it. tks…haha i was looking for shortcut =)