RE: [PEAR-DEV] dirname(__FILE__)

From: Date: Sun, 20 Oct 2002 15:42:47 +0000
Subject: RE: [PEAR-DEV] dirname(__FILE__)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10144@lists.php.net to get a copy of this message
> From: Martin Jansen [mailto:mj@php.net] > Sent: Sunday, October 20, 2002 3:16 PM > To: Lukas Smith > Cc: 'PHP PEAR Developer' > Subject: Re: [PEAR-DEV] dirname(__FILE__) > > On Tue Oct 15, 2002 at 06:1920PM +0200, Lukas Smith wrote: > > I want to once more start a little discussion about how to include files > > in pear packages. > > > > I for one intent to distribute all PEAR packages that I use as part of > > my application because I don't want my system to break when an admin > > updates a pear package to a version that breaks BC etc. > > > > Therefore I would really welcome if people would use dirname(__FILE__) > > in their includes in order that packages don't have to be in the include > > path. > > We should really make a clear final statement about this: According to > Derick, dirname(__FILE__) does not have a performance issue and it > really seems to be the best solution around. I'm +1 for adding this to > the coding standards and to use this for all future contributions. > > Comments? +1 regards, Lukas

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