http://php.net/manual/en/function.get-included-files.php
get_included_files — Returns an array with the names of included or required files
I need to be able to alter that array to stop inclusion of certain files. I know this is a terrible design flaw, but I am presented with a problem of updating some read only files as a temporary solution while we complete a more permanent solution. I was able to make a second set of the files and use .htaccess to redirect the web requests to my hacked files, but I would like to use the original files where modifications were not needed.
Long story short, if I can add a file to the array of files that have already been included my problem will be solved.
Thanks