merg activity cookie
This commit is contained in:
parent
91bed9297e
commit
8729263ea0
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user