From b99e95d46a9cc2018e193af1e67963dbb11912f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Mon, 4 Sep 2017 14:17:01 +0300 Subject: [PATCH] Fixed|Homepage: Marking recent blog entries in sitemap [ci skip] --- weblib/sitemap.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weblib/sitemap.inc.php b/weblib/sitemap.inc.php index b383794697..1db46a33b7 100644 --- a/weblib/sitemap.inc.php +++ b/weblib/sitemap.inc.php @@ -3,6 +3,8 @@ require_once('utils.inc.php'); require_once('class.sitedata.php'); +define('RECENT_THRESHOLD', 3600*72); + function generate_sitemap_blog_post($post, $css_class) { $nice_date = reformat_date($post->date);