From: demeritcowboy Date: Tue, 24 Mar 2020 03:07:29 +0000 (-0400) Subject: make install work on windows X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6fa5ec527d6f41fe16552a39d164acdd4d56c49d;p=civicrm-core.git make install work on windows --- diff --git a/CRM/Core/CodeGen/Util/Xml.php b/CRM/Core/CodeGen/Util/Xml.php index 8d64be7006..4a629b5014 100644 --- a/CRM/Core/CodeGen/Util/Xml.php +++ b/CRM/Core/CodeGen/Util/Xml.php @@ -12,6 +12,8 @@ class CRM_Core_CodeGen_Util_Xml { * @return SimpleXMLElement|bool */ public static function parse($file) { + // xinclude() only works with forward slashes + $file = str_replace(DIRECTORY_SEPARATOR, '/', $file); $dom = new DomDocument(); $xmlString = file_get_contents($file); $dom->loadXML($xmlString);