Re: dirname(__FILE__)

From: Date: Wed, 21 Sep 2005 06:59:30 +0000
Subject: Re: dirname(__FILE__)
References: 1  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-3058@lists.php.net to get a copy of this message
Markus Albe wrote:
Why not make mandatory the use of "dirname(__FILE__)" prepended to includes of other PEAR libraries?
In short: It makes things less flexible for the developer. The way things are now the developer can partially replace PEAR files by simply putting a modified version of the given file into the include path before the PEAR include path. We have added a "set_include_path()" function just for this task to help people where shared hosts have disabled "ini_set()". regards, Lukas

« previous php.pear.qa (#3058) next »