Re: include_path question
| From: | Andi Gutmans | Date: | Sun, 27 Aug 2000 19:10:09 +0000 |
| Subject: | Re: include_path question | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30832@lists.php.net to get a copy of this message | ||
At 09:48 PM 8/27/00 +0300, Andi Gutmans wrote:
BTW, I can see how my patch is also wrong. Maybe the whole move you made shouldn't have been made. We need to think of a *right* way to fix this issue. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/What SAPI module passes relative path? path_translated should always be full path and if it is not then it's a problem in the SAPI modules and not in main.c.The change breaks SAPI modules which pass a relative path to PHP (i.e. foo/bar/file.php). PHP will now chdir to foo/bar and will try to open the file foo/bar/file.php in that directory which will fail, of course.