cvs: phpdoc / configure.php
| From: | Hannes Magnusson | Date: | Mon, 02 Mar 2009 20:23:51 +0000 |
| Subject: | cvs: phpdoc / configure.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3375@lists.php.net to get a copy of this message | ||
bjori Mon Mar 2 20:23:51 2009 UTC
Modified files:
/phpdoc configure.php
Log:
Kill off phpbook/..-xsl/version.xml
# Version files are now maintained per-extension
http://cvs.php.net/viewvc.cgi/phpdoc/configure.php?r1=1.69&r2=1.70&diff_format=u
Index: phpdoc/configure.php
diff -u phpdoc/configure.php:1.69 phpdoc/configure.php:1.70
--- phpdoc/configure.php:1.69 Thu Feb 26 05:30:09 2009
+++ phpdoc/configure.php Mon Mar 2 20:23:51 2009
@@ -19,11 +19,11 @@
| Gwynne Raskind <gwynne@php.net> |
+----------------------------------------------------------------------+
- $Id: configure.php,v 1.69 2009/02/26 05:30:09 philip Exp $
+ $Id: configure.php,v 1.70 2009/03/02 20:23:51 bjori Exp $
*/
error_reporting(E_ALL);
-$cvs_id = '$Id: configure.php,v 1.69 2009/02/26 05:30:09 philip Exp $';
+$cvs_id = '$Id: configure.php,v 1.70 2009/03/02 20:23:51 bjori Exp $';
echo "configure.php: $cvs_id\n";
@@ -447,7 +447,6 @@
$LIBXML_OPTS = LIBXML_NOENT | LIBXML_NSCLEAN | $compact;
if ($ac['VERSION_FILES'] === 'yes') {
- $versionfile = $ac['srcdir'] . '/phpbook/phpbook-xsl/version.xml';
$dom = new DOMDocument;
$dom->preserveWhitespace = false;
$dom->formatOutput = true;
@@ -455,11 +454,7 @@
$tmp = new DOMDocument;
$tmp->preserveWhitespace = false;
- if (!$dom->load($versionfile)) {
- print_xml_errors();
- errors_are_bad(1);
- }
- $versions = $dom->documentElement;
+ $versions = $dom->appendChild($dom->createElement("versions"));
echo "Iterating over extension specific version files... ";