popup-dialog: properly include opml modules

This commit is contained in:
Andrew Dolgov 2010-09-10 17:27:15 +04:00
parent bfe5ddfc82
commit eef20159e4
1 changed files with 2 additions and 2 deletions

View File

@ -32,13 +32,13 @@
if (function_exists('domxml_open_file')) {
print "<ul class='nomarks'>";
print "<li>".__("Importing using DOMXML.")."</li>";
require_once "modules/opml_domxml.php";
require_once "opml_domxml.php";
opml_import_domxml($link, $owner_uid);
print "</ul>";
} else if (PHP_VERSION >= 5) {
print "<ul class='nomarks'>";
print "<li>".__("Importing using DOMDocument.")."</li>";
require_once "modules/opml_domdoc.php";
require_once "opml_domdoc.php";
opml_import_domdoc($link, $owner_uid);
print "</ul>";
} else {