Skip to content
Snippets Groups Projects
Commit 3457ce7c authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

temporarily enable entity loader when importing opml because idk

parent f6cbe9a5
No related branches found
No related tags found
No related merge requests found
......@@ -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.'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment