svn: /phpdoc/doc-base/trunk/ configure.php

From: Date: Sun, 24 Apr 2011 09:46:14 +0000
Subject: svn: /phpdoc/doc-base/trunk/ configure.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7997@lists.php.net to get a copy of this message
bjori Sun, 24 Apr 2011 09:46:14 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=310452 Log: Kill the DTD. All entities in it have been replaced already, and we have done the DTD validation, so there is no need for it in the resulting file. This speeds up PhD by 20seconds :) (the indexer by 10seconds, and the rendering by 10seconds) Changed paths: U phpdoc/doc-base/trunk/configure.php Modified: phpdoc/doc-base/trunk/configure.php =================================================================== --- phpdoc/doc-base/trunk/configure.php 2011-04-24 09:38:02 UTC (rev 310451) +++ phpdoc/doc-base/trunk/configure.php 2011-04-24 09:46:14 UTC (rev 310452) @@ -669,6 +669,8 @@ echo "done.\n"; printf("\nAll good. Saving %s... ", basename($ac["OUTPUT_FILENAME"])); flush(STDOUT); + $t = $dom->doctype; + $dom->removeChild($t); $dom->save($mxml); echo "done.\n"; @@ -678,6 +680,7 @@ if (function_exists('proc_nice')) { echo " (Run nice php configure.php next time!)\n"; } + echo "Yes. I know this segfaults. Thats OK. Thats next on the fixlist\n"; exit(0); // Tell the shell that this script finished successfully. } else {

« previous php.doc.cvs (#7997) next »