Re: Relative include feedback
| From: | kelvin at kelvinjones dot co dot uk | Date: | Mon, 17 Mar 2003 09:32:04 +0000 |
| Subject: | Re: Relative include feedback | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67@lists.php.net to get a copy of this message | ||
That's right.
And not only that.. not all people have access to set things like the include
path themselves, and would have to do it in every script they run using ini_set
().
And just because there's a workaround for a problem, doesn't mean we can't
provide a better solution.
Kelvin
Quoting Daniel Lorch <daniel@lorch.cc>:
> hi,
>
> > > What do you think?
> >
> > Just set your include path correctly?
>
> I don't think that was his point. If file A includes file B and file B in-
> cludes another file, say file C, then file C will be included with the re-
> lative path of file A (and not file B as expected).
>
> -daniel