Re: cvs: php4 /pear/PEAR Common.php
| From: | Alan Knowles | Date: | Mon, 17 Jun 2002 10:53:17 +0000 |
| Subject: | Re: cvs: php4 /pear/PEAR Common.php | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-4658@lists.php.net to get a copy of this message | ||
You could do with a little option list on the bottom of the commits like bugs. has :)
fixed
regards
alan
Tomas V.V.Cox wrote:
Alan Knowles wrote:Sorry to bug you in that issue, but could you try to stick to the PEAR coding standars? This code should be: if (foo) { var(); } So we can maintain the uniformity of the code. Thanks in advance :-) Tomas V.V.Coxalan_k Mon Jun 17 00:49:15 2002 EDTModified files:/php4/pear/PEAR Common.phpLog: Added Dependancy check on XML - previously pear installer failed silently Index: php4/pear/PEAR/Common.php diff -u php4/pear/PEAR/Common.php:1.72 php4/pear/PEAR/Common.php:1.73--- php4/pear/PEAR/Common.php:1.72 Wed Jun 12 17:23:22 2002+++ php4/pear/PEAR/Common.php Mon Jun 17 00:49:14 2002 @@ -17,7 +17,7 @@// | Tomas V.V.Cox <cox@idecnet.com> |// +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.72 2002/06/12 21:23:22 ssb Exp $ +// $Id: Common.php,v 1.73 2002/06/17 04:49:14 alan_k Exp $ require_once 'PEAR.php'; require_once 'Archive/Tar.php'; @@ -742,6 +742,9 @@*/ function infoFromString($data) { + require_once('PEAR/Dependency.php'); + if ($error = PEAR_Dependency::checkExtension('xml')) + return $this->raiseError($error); $xp = @xml_parser_create(); if (!$xp) { return $this->raiseError('Unable to create XML parser');