Re: PEAR Coding Standards: Path of RC files for apps

From: Date: Mon, 03 May 2004 20:30:43 +0000
Subject: Re: PEAR Coding Standards: Path of RC files for apps
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28742@lists.php.net to get a copy of this message
From: "Martin Jansen" <mj@php.net> > The directory ~/.pear should already exist, so putting the configuration > files for packages in there seems to be a good idea for me. Let's say I run the pear command as root. There should be no ~/.pear directory for users who have not used the pear command. If a user would like to use a package, it would be very dumb if they couldn't get to the RC file. It seems to me that the best solution would be to have the defaults somewhere in the pear directory, but check if they exist in ~/.pear, which would automatically override defaults. Klaus

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