enable more DAEMON_EXTENDED_DEBUGGING with GET=xdebug

This commit is contained in:
Andrew Dolgov 2007-08-22 08:46:59 +01:00
parent 028155556b
commit 51e456d6d6
1 changed files with 4 additions and 4 deletions

View File

@ -430,7 +430,7 @@
_debug("update_rss_feed: fetching..."); _debug("update_rss_feed: fetching...");
} }
if (!defined('DAEMON_EXTENDED_DEBUG')) { if (!defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
error_reporting(0); error_reporting(0);
} }
@ -498,7 +498,7 @@
db_query($link, "UPDATE ttrss_feeds SET icon_url = '$icon_url' WHERE id = '$feed'"); db_query($link, "UPDATE ttrss_feeds SET icon_url = '$icon_url' WHERE id = '$feed'");
} }
if (defined('DAEMON_EXTENDED_DEBUG' || $_GET['xdebug'])) { if (defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
_debug("update_rss_feed: loading filters..."); _debug("update_rss_feed: loading filters...");
} }
@ -540,7 +540,7 @@
// clear any errors and mark feed as updated if fetched okay // clear any errors and mark feed as updated if fetched okay
// even if it's blank // even if it's blank
if (defined('DAEMON_EXTENDED_DEBUG')) { if (defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
_debug("update_rss_feed: entry iterator is not an array, no articles?"); _debug("update_rss_feed: entry iterator is not an array, no articles?");
} }
@ -550,7 +550,7 @@
return; // no articles return; // no articles
} }
if (defined('DAEMON_EXTENDED_DEBUG')) { if (defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
_debug("update_rss_feed: processing articles..."); _debug("update_rss_feed: processing articles...");
} }