Skip to content

Commit 7ae0767

Browse files
authored
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.
1 parent 1bec015 commit 7ae0767

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎configure.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ function dtd_text_entities()
713713
echo "Creating monolithic temp/manual.xml... ";
714714
$dom = new DOMDocument();
715715

716-
if ( dom_load( $dom , __DIR__ . "/../{$ac['LANG_BASE_DIR']}/manual.xml" , true ) )
716+
if ( dom_load( $dom , "{$ac['ROOTDIR']}/{$ac['LANG_BASE_DIR']}/manual.xml" , true ) )
717717
{
718718
dom_saveload( $dom ); // correct file/line/column on error messages
719719
echo " done.\n";

0 commit comments

Comments
 (0)