summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-22 08:46:59 +0100
committerAndrew Dolgov <[email protected]>2007-08-22 08:46:59 +0100
commit51e456d6d62e37374de7c7a2e0c9a92a3ee85652 (patch)
tree8c15adb86f2dd74c470d4fcc513e3a888d0774ea /functions.php
parent028155556b7c28f234f51a0d749425d0e2548022 (diff)
enable more DAEMON_EXTENDED_DEBUGGING with GET=xdebug
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions.php b/functions.php
index 8a8601761..545df5968 100644
--- a/functions.php
+++ b/functions.php
@@ -430,7 +430,7 @@
_debug("update_rss_feed: fetching...");
}
- if (!defined('DAEMON_EXTENDED_DEBUG')) {
+ if (!defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
error_reporting(0);
}
@@ -498,7 +498,7 @@
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...");
}
@@ -540,7 +540,7 @@
// clear any errors and mark feed as updated if fetched okay
// 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?");
}
@@ -550,7 +550,7 @@
return; // no articles
}
- if (defined('DAEMON_EXTENDED_DEBUG')) {
+ if (defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
_debug("update_rss_feed: processing articles...");
}