Store page name in the comments file

This commit is contained in:
Flavio Copes 2015-10-07 15:43:16 +02:00
parent c18914d3e3
commit 5fd4cd6ac5
2 changed files with 2 additions and 0 deletions

View file

@ -80,6 +80,7 @@ class CommentsPlugin extends Plugin
];
} else {
$data = array(
'name' => $post['name'],
'comments' => array([
'text' => $post['text'],
'date' => gmdate('D, d M Y H:i:s', time()),