Re: include_path with "."
| From: | (Stig Sæther Bakken) | Date: | Fri, 03 Aug 2001 12:16:35 +0000 |
| Subject: | Re: include_path with "." | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61934@lists.php.net to get a copy of this message | ||
[Stig S. Bakken <ssb@alltheweb.com>]
> Hi,
>
> I would like to suggest that we change how "." in the include_path is
> treated to being relative to the file doing an include, instead of
> relative to the main script file. There was some mention of this a few
> weeks ago, and it's a problem for PEAR users using ISPs that won't let
> them change their include_path.
[Andi Gutmans <andi@zend.com>]
> I have already commited a change that if I file isn't found in the
> include_path then PHP will check for the file in the running scripts'
> cwd.
Ah, in the cwd of __FILE__ then (which is what I meant), not
$PATH_TRANSLATED?
- Stig