do not load test opml when debugging

This commit is contained in:
Andrew Dolgov 2012-09-02 13:47:03 +04:00
parent d7f9e4fc08
commit 5a49ed95a8
1 changed files with 1 additions and 1 deletions

View File

@ -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']);