cvs: php4(NEW_UI_API) /pear/PEAR Common.php

From: Date: Wed, 29 May 2002 03:36:45 +0000
Subject: cvs: php4(NEW_UI_API) /pear/PEAR Common.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4224@lists.php.net to get a copy of this message
ssb Tue May 28 23:36:45 2002 EDT Modified files: (Branch: NEW_UI_API) /php4/pear/PEAR Common.php Log: * make PEAR_Common::log work with the new UI API Index: php4/pear/PEAR/Common.php diff -u php4/pear/PEAR/Common.php:1.67.2.1 php4/pear/PEAR/Common.php:1.67.2.2 --- php4/pear/PEAR/Common.php:1.67.2.1 Mon May 27 22:14:09 2002 +++ php4/pear/PEAR/Common.php Tue May 28 23:36:45 2002 @@ -17,7 +17,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.67.2.1 2002/05/28 02:14:09 ssb Exp $ +// $Id: Common.php,v 1.67.2.2 2002/05/29 03:36:45 ssb Exp $ require_once 'PEAR.php'; require_once 'Archive/Tar.php'; @@ -130,6 +130,7 @@ { parent::PEAR(); $this->config = &PEAR_Config::singleton(); + $this->debug = $this->config->get('verbose'); } // }}} @@ -210,7 +211,7 @@ if ($this->debug >= $level) { if (is_object($this->ui)) { // XXX convert to new Frontend API? - $this->ui->displayLine($msg); + $this->ui->outputData($msg, 'unknown'); } else { print "$msg\n"; }

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