summaryrefslogtreecommitdiffstats
path: root/install-pear.php
diff options
context:
space:
mode:
Diffstat (limited to 'install-pear.php')
-rw-r--r--install-pear.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install-pear.php b/install-pear.php
index facb6ee..4ed36d6 100644
--- a/install-pear.php
+++ b/install-pear.php
@@ -237,7 +237,7 @@ $options['upgrade'] = true;
$install_root = getenv('INSTALL_ROOT');
if (!empty($install_root)) {
$options['packagingroot'] = $install_root;
- $reg = &new PEAR_Registry($options['packagingroot'], false, false, $metadata_dir);
+ $reg = new PEAR_Registry($options['packagingroot'], false, false, $metadata_dir);
} else {
$reg = $config->getRegistry('default');
}