remove loading of test opml file in debug mode

This commit is contained in:
Andrew Dolgov 2012-08-15 15:09:27 +04:00
parent d2a317e3c8
commit d3cface62d

View file

@ -215,7 +215,7 @@
$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']);