do not load test opml when debugging

master
Andrew Dolgov 12 years ago
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…
Cancel
Save