Re: primary file realpath change

From: Date: Fri, 10 Mar 2006 06:57:40 +0000
Subject: Re: primary file realpath change
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-22320@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote:
Andi Gutmans wrote:
Are you sure VCWD_REALPATH doesn't use the realpath cache? It did last time I checked and I think is still the right method to use there...
quite #define VCWD_REALPATH(path, real_path) realpath(path, real_path)
By the way, I agree that expand_filepath() is not the right fix here since the first thing it does is a getcwd. We have just done a chdir and haven't executed any script yet so we know the cwd. Feed that directly to virtual_file_ex() there perhaps? I haven't really dug into it. -Rasmus

« previous php.internals (#22320) next »