diff options
author | Andrew Dolgov <[email protected]> | 2014-12-09 22:54:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-12-09 22:54:44 +0300 |
commit | 3457ce7c5963e507a2116866cedb1f1509230c93 (patch) | |
tree | 6fd37e5570a0bc50dbd24ded68acd338880ea6e3 | |
parent | f6cbe9a5a03056be4e8f20747ef5f933e2a55f12 (diff) |
temporarily enable entity loader when importing opml because idk
-rw-r--r-- | classes/opml.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/opml.php b/classes/opml.php index c8c59e8a2..04516dde4 100644 --- a/classes/opml.php +++ b/classes/opml.php @@ -491,7 +491,9 @@ class Opml extends Handler_Protected { if (is_file($tmp_file)) { $doc = new DOMDocument(); + libxml_disable_entity_loader(false); $doc->load($tmp_file); + libxml_disable_entity_loader(true); unlink($tmp_file); } else if (!$doc) { print_error(__('Error: unable to find moved OPML file.')); |