From 8729263ea0c1cb74599d9d594430605037e6c063 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 23 Mar 2011 11:41:33 +0000 Subject: [PATCH] merg activity cookie --- ext/comment/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/comment/main.php b/ext/comment/main.php index d8e8c379..9078316c 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -459,6 +459,7 @@ class CommentList extends SimpleExtension { "VALUES(?, ?, ?, now(), ?)", array($image_id, $user->id, $_SERVER['REMOTE_ADDR'], $comment)); $cid = $database->db->Insert_ID(); + setcookie("nocache", "true", time()+60*60); log_info("comment", "Comment #$cid added to Image #$image_id"); } }