Re: nested includes()...
| From: | David Robley | Date: | Tue, 09 Oct 2001 02:33:31 +0000 |
| Subject: | Re: nested includes()... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70410@lists.php.net to get a copy of this message | ||
On Tue, 9 Oct 2001 10:50, Christian Dechery wrote:
> I have a file x.php that includes a.inc, and a.inc includes b.inc...
>
> if I have a file dir/z.php including ../a.inc it doesn't work cuz it
> won't find b.inc...
>
> how can I get around this???
Set your include path to cover all the locations of the files
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
You go to heaven...God sneezes... What do you say?