do not load test opml when debugging
This commit is contained in:
parent
d7f9e4fc08
commit
5a49ed95a8
|
@ -450,7 +450,7 @@ class Opml extends Handler_Protected {
|
||||||
$debug = isset($_REQUEST["debug"]);
|
$debug = isset($_REQUEST["debug"]);
|
||||||
$doc = false;
|
$doc = false;
|
||||||
|
|
||||||
if ($debug) $doc = DOMDocument::load("/tmp/test.opml");
|
# if ($debug) $doc = DOMDocument::load("/tmp/test.opml");
|
||||||
|
|
||||||
if (is_file($_FILES['opml_file']['tmp_name'])) {
|
if (is_file($_FILES['opml_file']['tmp_name'])) {
|
||||||
$doc = DOMDocument::load($_FILES['opml_file']['tmp_name']);
|
$doc = DOMDocument::load($_FILES['opml_file']['tmp_name']);
|
||||||
|
|
Loading…
Reference in New Issue