Re: include_path with "."

From: Date: Sun, 05 Aug 2001 12:19:35 +0000
Subject: Re: include_path with "."
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62141@lists.php.net to get a copy of this message
Yep, it's using __FILE__. Andi On 3 Aug 2001, Stig Sæther Bakken wrote: > [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 >

« previous php.dev (#62141) next »