|
cvs: pear /Log Log.php: msg#00622php.cvs.pear
jon Fri Sep 27 15:22:54 2002 EDT Modified files: /pear/Log Log.php Log: Fix the singleton() function by receiving the reference from the factory() function. Index: pear/Log/Log.php diff -u pear/Log/Log.php:1.12 pear/Log/Log.php:1.13 --- pear/Log/Log.php:1.12 Fri Sep 27 12:12:14 2002 +++ pear/Log/Log.php Fri Sep 27 15:22:54 2002 @@ -1,5 +1,5 @@ <?php -// $Id: Log.php,v 1.12 2002/09/27 16:12:14 jon Exp $ +// $Id: Log.php,v 1.13 2002/09/27 19:22:54 jon Exp $ // $Horde: horde/lib/Log.php,v 1.15 2000/06/29 23:39:45 jon Exp $ require_once 'PEAR.php'; @@ -19,7 +19,7 @@ * * @author Chuck Hagenbuch <chuck@xxxxxxxxx> * @author Jon Parise <jon@xxxxxxx> - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ * @since Horde 1.3 * @package Log */ @@ -138,7 +138,7 @@ $signature = md5($type . '][' . $name . '][' . $ident . '][' . implode('][', $conf) . '][' . $maxLevel); if (!isset($instances[$signature])) { - $instances[$signature] = Log::factory($type, $name, $ident, $conf, + $instances[$signature] = &Log::factory($type, $name, $ident, $conf, $maxLevel); } -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pear(execute_wrapper) /PECL/apd php_apd.c php_apd.h: 00622, George Schlossnagle |
|---|---|
| Next by Date: | cvs: pear /Log/Log file.php: 00622, Jon Parise |
| Previous by Thread: | cvs: pear /Log Log.phpi: 00622, Jon Parise |
| Next by Thread: | cvs: pear /Net_Dict Dict.php package.xml /Net_Dict/docs dict.php: 00622, Chandrashekhar Bhosle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |