1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:05:56 +00:00

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

View File

@@ -450,7 +450,7 @@ class Opml extends Handler_Protected {
$debug = isset($_REQUEST["debug"]);
$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'])) {
$doc = DOMDocument::load($_FILES['opml_file']['tmp_name']);