mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 12:25:56 +00:00
do not load test opml when debugging
This commit is contained in:
@@ -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']);
|
||||||
|
|||||||
Reference in New Issue
Block a user