From 92a019ac0452f3aff007e6c296ac22280fa854e0 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Tue, 2 May 2006 02:44:35 +0000 Subject: [PATCH] added logging for blog views --- blog/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blog/index.php b/blog/index.php index 9a57c4f18f..1dbb28bff1 100755 --- a/blog/index.php +++ b/blog/index.php @@ -151,6 +151,8 @@ $blogpage = optional_param('blogpage',0,PARAM_INT); blog_print_html_formatted_entries($userid, $postid, $limit, ($blogpage * $limit) ,$filtertype, $filterselect, $tagid, $tag, $filtertype, $filterselect); +add_to_log($site->id, 'blog', 'view', 'index.php?filtertype='.$filtertype.'&filterselect='.$filterselect.'&postid='.$postid.'&tagid='.$tagid.'&tag='.$tag, 'view blog entry'); + include($CFG->dirroot .'/blog/footer.php'); ?> -- 2.39.5