How to include multiple paths when a PHP script is called?
For example, I need to point include_path to multiple directories; inside each directories containing sub directories etc. But I want to include all the php files inside the sub directories as well, so that when my master PHP script can call any methods and objects defined inside the directories.
Any idea?
If possible, I would like to call a function to do it, instead of specifying the root directories and loop through everything inside the directories.