]> git.wh0rd.org - tt-rss.git/blobdiff - include/rssfuncs.php
pass logfile to child tasks if locking is possible, lock logfile before writing,...
[tt-rss.git] / include / rssfuncs.php
index dbe5c8bc91a1fa0ab87697d8f02908841134ef90..7f6417759e1a8b7f310414f186d893618275c85e 100644 (file)
 
                $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,
                                        "tags" => $entry_tags,
                                        "plugin_data" => $entry_plugin_data,
                                        "author" => $entry_author,
-                                       "stored" => $stored_article);
+                                       "stored" => $stored_article,
+                                       "feed" => array("id" => $feed,
+                                               "fetch_url" => $fetch_url,
+                                               "site_url" => $site_url)
+                                       );
 
                                foreach ($pluginhost->get_hooks(PluginHost::HOOK_ARTICLE_FILTER) as $plugin) {
                                        $article = $plugin->hook_article_filter($article);