mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
* 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:
parent
f2121e4bcf
commit
1696a2c4e2
@ -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";
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
Loading…
Reference in New Issue
Block a user