From 35da01cd6b8e9e5fe4174f516d254e37735d348a Mon Sep 17 00:00:00 2001 From: hakre Date: Mon, 21 Sep 2026 11:02:19 +0200 Subject: [PATCH] ROOTDIR the (authoritative) language base module Use the root directory configuration parameter 'ROOTDIR' on the first load of the 'manual.xml' document object model (DOM) with the 'LANG_BASE_DIR' parameter during the build. --- configure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.php b/configure.php index b6e710c836..11cf3defc7 100755 --- a/configure.php +++ b/configure.php @@ -713,7 +713,7 @@ function dtd_text_entities() echo "Creating monolithic temp/manual.xml... "; $dom = new DOMDocument(); -if ( dom_load( $dom , __DIR__ . "/../{$ac['LANG_BASE_DIR']}/manual.xml" , true ) ) +if ( dom_load( $dom , "{$ac['ROOTDIR']}/{$ac['LANG_BASE_DIR']}/manual.xml" , true ) ) { dom_saveload( $dom ); // correct file/line/column on error messages echo " done.\n";