-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
state.php
executable file
·30 lines (29 loc) · 1022 Bytes
/
state.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
return [
'guard' => [
'max' => [
'author' => 100,
'email' => 100,
'link' => 100,
'content' => 3000
],
'min' => [
'author' => 1,
'email' => 3, // `a@b`
'link' => 8, // `http://a`
'content' => 2
]
],
'page' => [
// Paginate comment(s) if total of comment(s) that has no `parent` property has reached this limit
'chunk' => 50,
// Set to `0` to disable comment thread, `1` or more to enable comment thread
'deep' => 2,
// Default comment type
'type' => 'HTML',
// Default file extension for new comment (`draft` to save/moderate the comment and `page` to publish the comment immediately)
'x' => 'page'
],
'route' => '/comment',
'status' => 1 // The comment(s)’ visibility (`0` or `false` means “disable comment(s)”, `1` or `true` means “enable comment(s)”, `2` means “close comment(s)”)
];