Re: Earthquake in Text_Wiki

From: Date: Thu, 27 May 2004 11:50:34 +0000
Subject: Re: Earthquake in Text_Wiki
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29753@lists.php.net to get a copy of this message
Stefan Neufeind wrote:
On 27 May 2004 at 9:38, Lukas Smith wrote:
hmm actually i think maybe we should introduce our own file_exists() variant and be done with this. its slow but its better than all of the cludges we can come up with. and maybe we can go back to internals@ and lobby for a solution inside php again.
Imho extending file_exists by an optimal parameter for giving the search-directories shouldn't be a problem, right? Do you think it's that hard to find a lobby for that? This way you could simply retrieve the include_path from the config and do a file_exists('myfile.php', $include_path);
it is a philisophical thing .. essentially i was told that file_exists() shouldnt look at the include path setting .. i dont remember exactly why it is ok for fopen() to look at that setting .. maybe those people also consider this fact a mistake (which they didnt stop in time) regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.dev (#29753) next »