Re: include() fall back to scripts' cwd
| From: | Rasmus Lerdorf | Date: | Fri, 13 Jul 2001 18:11:53 +0000 |
| Subject: | Re: include() fall back to scripts' cwd | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-59991@lists.php.net to get a copy of this message | ||
> Rather than having this be a seperate case at the end of
> php_fopen_with_path(), how about it just get appended to
> the (local) search path?
>
> I am adding a 'safe_mode_include_dir', which will let you
> include files you don't own if they are in the
> safe_mode_include_dir. By appending the scripts cwd to the
> search path, it will honor this addition.
Sounds good to me.
-Rasmus