cvs: php4 /pear/PEAR Installer.php
| From: | Vincent Blavet | Date: | Thu, 24 Jan 2002 08:23:47 +0000 |
| Subject: | cvs: php4 /pear/PEAR Installer.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2074@lists.php.net to get a copy of this message | ||
vblavet Thu Jan 24 03:23:47 2002 EDT
Modified files:
/php4/pear/PEAR Installer.php
Log:
* Call the PEAR_Registry constructor with the optional parameter
Index: php4/pear/PEAR/Installer.php
diff -u php4/pear/PEAR/Installer.php:1.34 php4/pear/PEAR/Installer.php:1.35
--- php4/pear/PEAR/Installer.php:1.34 Wed Jan 2 12:12:26 2002
+++ php4/pear/PEAR/Installer.php Thu Jan 24 03:23:47 2002
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Installer.php,v 1.34 2002/01/02 17:12:26 ssb Exp $
+// $Id: Installer.php,v 1.35 2002/01/24 08:23:47 vblavet Exp $
require_once 'PEAR/Common.php';
require_once 'PEAR/Registry.php';
@@ -174,7 +174,7 @@
// - upgrade : upgrade existing install
//
if (empty($this->registry)) {
- $this->registry = new PEAR_Registry;
+ $this->registry = new PEAR_Registry($this->phpdir);
}
$oldcwd = getcwd();
$need_download = false;
@@ -327,7 +327,7 @@
function uninstall($package)
{
if (empty($this->registry)) {
- $this->registry = new PEAR_Registry;
+ $this->registry = new PEAR_Registry($this->phpdir);
}
// Delete the files