]> git.wh0rd.org - tt-rss.git/commitdiff
enable more DAEMON_EXTENDED_DEBUGGING with GET=xdebug
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 22 Aug 2007 07:46:59 +0000 (08:46 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 22 Aug 2007 07:46:59 +0000 (08:46 +0100)
functions.php

index 8a86017619d52877865cc4bdc2ae3838310e26d7..545df59680688c25a27322385360ba2dcc171feb 100644 (file)
                        _debug("update_rss_feed: fetching...");
                }
 
-               if (!defined('DAEMON_EXTENDED_DEBUG')) {
+               if (!defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
                        error_reporting(0);
                }
 
                                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...");
                        }
 
                                // 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?");
                                }
 
                                return; // no articles
                        }
 
-                       if (defined('DAEMON_EXTENDED_DEBUG')) {
+                       if (defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
                                _debug("update_rss_feed: processing articles...");
                        }