Re: Hidden include_path Fall Back?

From: Date: Mon, 13 Aug 2007 06:24:05 +0000
Subject: Re: Hidden include_path Fall Back?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-260754@lists.php.net to get a copy of this message
On Thu, 09 Aug 2007 04:08:37 +0800, imacat wrote: > On Wed, 8 Aug 2007 10:39:03 +0100 > "Ford, Mike" <M.Ford@leedsmet.ac.uk> wrote: >> On 08 August 2007 10:06, imacat wrote: >>> I found that include_path seems to have a hidden fall back that's >>> not documented anywhere. It seems to always look for files in the >>> calling files' own directory. >> Isn't this what's documented here: >> http://php.net/include/? > > Oh, Thank you. I visited that page. It reads: > >> Files for including are first looked in include_path relative to the >> current working directory and then in include_path relative to the >> directory of current script. That's funny. When I tried that URL, it (the english version) says: "Files for including are first looked in include_path relative to the current working directory and then in the directory of the current script." /Nisse

« previous php.general (#260754) next »