mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:45:56 +00:00
remove loading of test opml file in debug mode
This commit is contained in:
2
opml.php
2
opml.php
@@ -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']);
|
||||||
|
|||||||
Reference in New Issue
Block a user