diff options
author | Andrew Dolgov <[email protected]> | 2013-09-02 12:33:59 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-09-02 12:33:59 +0400 |
commit | a33558a61efc244ad8c809748e6ee64413e3a217 (patch) | |
tree | a84d96dc58ca3cb7981443389b9ce7f6b7b42c19 /include/rssfuncs.php | |
parent | f73e03e000d7119b8c9724790e70e4da4fb32cfe (diff) |
pass logfile to child tasks if locking is possible, lock logfile before writing, add kludge to prevent update_rss_feed unneeded debugging go into master logfile
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 2bc30b5ce..7f6417759 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -194,6 +194,8 @@ $debug_enabled = defined('DAEMON_EXTENDED_DEBUG') || $_REQUEST['xdebug']; + if (!$debug_enabled) define('SUPPRESS_DEBUGGING', true); + _debug("start", $debug_enabled); $result = db_query("SELECT id,update_interval,auth_login, |