cvs: php4 /pear/PEAR Registry.php

From: Date: Thu, 24 Jan 2002 08:22:47 +0000
Subject: cvs: php4 /pear/PEAR Registry.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2073@lists.php.net to get a copy of this message
vblavet Thu Jan 24 03:22:47 2002 EDT Modified files: /php4/pear/PEAR Registry.php Log: * Adding the ability to set the PEAR_INSTALL_DIR while creating the Registry object (in the same way as Installer.php) Index: php4/pear/PEAR/Registry.php diff -u php4/pear/PEAR/Registry.php:1.12 php4/pear/PEAR/Registry.php:1.13 --- php4/pear/PEAR/Registry.php:1.12 Tue Dec 11 20:29:27 2001 +++ php4/pear/PEAR/Registry.php Thu Jan 24 03:22:46 2002 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Registry.php,v 1.12 2001/12/12 01:29:27 ssb Exp $ +// $Id: Registry.php,v 1.13 2002/01/24 08:22:46 vblavet Exp $ require_once "System.php"; @@ -34,9 +34,9 @@ // {{{ 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"; } // }}}

« previous php.pear.cvs (#2073) next »