* Adding the ability to set the PEAR_INSTALL_DIR while creating the Registry object (in the same way as Installer.php)

This commit is contained in:
Vincent Blavet 2002-01-24 08:22:46 +00:00
parent f2121e4bcf
commit 1696a2c4e2

View File

@ -34,9 +34,9 @@ class PEAR_Registry
// {{{ PEAR_Registry
function PEAR_Registry()
function PEAR_Registry($pear_install_dir = PEAR_INSTALL_DIR)
{
$this->statedir = PEAR_INSTALL_DIR . "/.registry";
$this->statedir = $pear_install_dir . "/.registry";
}
// }}}