Merge branch 'fix/Core-fix-server-parser-failed' into 'develop'

Fallback to Perl parser if ExpatXS is not installed

See merge request artica/pandorafms!2631
This commit is contained in:
fbsanchez 2019-08-02 14:15:45 +02:00
commit 2c6c8afe2d
1 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,8 @@ if (!$@) {
# Force best option available.
$XML::Simple::PREFERRED_PARSER='XML::SAX::ExpatXS';
} else {
# Let ParserDetails.ini command parser.
# Use classic parser.
$XML::Simple::PREFERRED_PARSER='XML::Parser';
}
# Default lib dir for RPM and DEB packages