[doc-base] master: ROOTDIR the (authoritative) language base module (#345)
| From: | hakre via GitHub | Date: | Thu, 24 Sep 2026 11:50:57 +0000 |
| Subject: | [doc-base] master: ROOTDIR the (authoritative) language base module (#345) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23769@lists.php.net to get a copy of this message | ||
Author: hakre (hakre)
Committer: GitHub (web-flow)
Pusher: alfsb
Date: 2026-09-24T08:50:55-03:00
Commit: https://github.com/php/doc-base/commit/7ae07677fafd950ead5fa7439cdd627031370d54
Raw diff: https://github.com/php/doc-base/commit/7ae07677fafd950ead5fa7439cdd627031370d54.diff
ROOTDIR the (authoritative) language base module (#345)
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.
Changed paths:
M configure.php
Diff:
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";