cvs: pear-core / install-pear.php
| From: | Greg Beaver | Date: | Sun, 14 Aug 2005 06:57:03 +0000 |
| Subject: | cvs: pear-core / install-pear.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3522@lists.php.net to get a copy of this message | ||
cellog Sun Aug 14 02:57:03 2005 EDT
Modified files:
/pear-core install-pear.php
Log:
initial update to enable pharring and use 1.4.0 features
http://cvs.php.net/diff.php/pear-core/install-pear.php?r1=1.17&r2=1.18&ty=u
Index: pear-core/install-pear.php
diff -u pear-core/install-pear.php:1.17 pear-core/install-pear.php:1.18
--- pear-core/install-pear.php:1.17 Tue Feb 8 11:07:12 2005
+++ pear-core/install-pear.php Sun Aug 14 02:57:03 2005
@@ -1,13 +1,13 @@
<?php
-/* $Id: install-pear.php,v 1.17 2005/02/08 16:07:12 cellog Exp $ */
+/* $Id: install-pear.php,v 1.18 2005/08/14 06:57:03 cellog Exp $ */
$pear_dir = dirname(__FILE__);
ini_set('include_path', $pear_dir);
include_once 'PEAR.php';
include_once 'PEAR/Installer.php';
include_once 'PEAR/Registry.php';
-include_once 'PEAR/Frontend/CLI.php';
+include_once 'PEAR/Frontend.php';
$a = true;
if (!PEAR::loadExtension('xml')) {
@@ -83,8 +83,8 @@
$reg_dir = $php_dir;
}
-$reg = &new PEAR_Registry($reg_dir);
-$ui = &new PEAR_Frontend_CLI();
+$reg = &$config->getRegistry('default');
+$ui = &PEAR_Frontend::singleton('PEAR_Frontend_CLI');
$installer = &new PEAR_Installer($ui);
//$installer->registry = &$reg; // This should be changed in Installer/Registry