Re: Re: Question wrt dual-PEAR

From: Date: Tue, 01 Feb 2005 15:22:33 +0000
Subject: Re: Re: Question wrt dual-PEAR
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-35860@lists.php.net to get a copy of this message
Greg Beaver wrote: > MadCoder wrote: >>>The debian package manager could easily wrap the pear command, as Alan >>>Knowles suggests, and pass in a hard-coded user config file if it isn't >>>specified on the command-line. >>> >>>In other words, the pear script would be called with >>> >>>pear -c /path/to/debian_usr_local_share/pear.conf $@ >> >> >> this is nice too. but won't it forget about /usr/share/php ? > > No. > > It may take a while, but please examine the source for PEAR/Config.php, > specifically PEAR_Config->get(). I did that, you don't get it, it *ovverrides* the global configs, it does not extends it ... -- ·O· Pierre Habouzit ··O OOO http://www.madism.org

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