popup-dialog: properly include opml modules
This commit is contained in:
parent
bfe5ddfc82
commit
eef20159e4
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue