mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fallback to Perl parser if ExpatXS is not installed
This commit is contained in:
parent
f38962de8d
commit
45f7c89b5e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user