Re: Any way of finding out what files have been included?
| From: | Andrei Zmievski | Date: | Fri, 02 Mar 2001 14:41:41 +0000 |
| Subject: | Re: Any way of finding out what files have been included? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-47796@lists.php.net to get a copy of this message | ||
On Fri, 02 Mar 2001, Neil Kimber wrote:
> I'm testing for efficiency and realise that it's possible that some pages
> include files, that in turn include files, that in turn etc....
>
> Some of these includes are probably not needed and are bloating my site. Is
> there an easy way to determine which files have currently been loaded via
> includes and requires? This would help me to create an include file audit
> check and allow me to identify unnecessary bloat.
get_included_files()
-Andrei
"I think it would be a good idea." -- Mahatma Gandhi,
when asked what he thought of Western civilization...