merg activity cookie

This commit is contained in:
Shish 2011-03-23 11:41:33 +00:00
parent 91bed9297e
commit 8729263ea0

View File

@ -459,6 +459,7 @@ class CommentList extends SimpleExtension {
"VALUES(?, ?, ?, now(), ?)", "VALUES(?, ?, ?, now(), ?)",
array($image_id, $user->id, $_SERVER['REMOTE_ADDR'], $comment)); array($image_id, $user->id, $_SERVER['REMOTE_ADDR'], $comment));
$cid = $database->db->Insert_ID(); $cid = $database->db->Insert_ID();
setcookie("nocache", "true", time()+60*60);
log_info("comment", "Comment #$cid added to Image #$image_id"); log_info("comment", "Comment #$cid added to Image #$image_id");
} }
} }