mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-06 03:59:15 +00:00
add disabled option SIMPLEPIE_CACHE_IMAGES
This commit is contained in:
@@ -178,9 +178,14 @@
|
||||
}
|
||||
|
||||
// purge orphaned posts in main content table
|
||||
db_query($link, "DELETE FROM ttrss_entries WHERE
|
||||
$result = db_query($link, "DELETE FROM ttrss_entries WHERE
|
||||
(SELECT COUNT(int_id) FROM ttrss_user_entries WHERE ref_id = id) = 0");
|
||||
|
||||
if ($do_output) {
|
||||
$rows = db_affected_rows($link, $result);
|
||||
_debug("Purged $rows orphaned posts.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function purge_old_posts($link) {
|
||||
@@ -470,6 +475,10 @@
|
||||
$rss->set_feed_url($fetch_url);
|
||||
$rss->set_output_encoding('UTF-8');
|
||||
|
||||
/* if (SIMPLEPIE_CACHE_IMAGES) {
|
||||
$rss->set_image_handler('./image.php', 'i');
|
||||
} */
|
||||
|
||||
if (defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
|
||||
_debug("feed update interval (sec): " .
|
||||
get_feed_update_interval($link, $feed)*60);
|
||||
|
||||
Reference in New Issue
Block a user