Skip to content

Commit

Permalink
Ditto
Browse files Browse the repository at this point in the history
  • Loading branch information
André L F S Bacci committed Dec 6, 2024
1 parent f71f023 commit 2deefa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ function xinclude_run_byid( DOMDocument $dom )
$maxrun = 10; //LIBXML_VERSION >= 21100 ? 1 : 10;
for( $run = 0 ; $run < $maxrun ; $run++ )
{
echo "$run ";
$xpath = new DOMXPath( $dom );
$xpath->registerNamespace( "xi" , "http://www.w3.org/2001/XInclude" );
$xincludes = $xpath->query( "//xi:include" );
Expand Down Expand Up @@ -843,7 +844,7 @@ function xinclude_run_xpointer( DOMDocument $dom ) : int
$maxrun = 10; //LIBXML_VERSION >= 21100 ? 1 : 10;
for( $run = 0 ; $run < $maxrun ; $run++ )
{
echo ".";
echo "$run ";
libxml_clear_errors();
$status = (int) $dom->xinclude();
if ( $status <= 0 )
Expand Down

0 comments on commit 2deefa1

Please sign in to comment.