1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-01-03 23:42:28 +03:00

Added ability to configure revision limit

This commit is contained in:
Dan Brown
2018-09-22 17:30:42 +01:00
parent 0931ff38e9
commit 3f58800ed1
4 changed files with 46 additions and 5 deletions

View File

@@ -12,6 +12,13 @@ return [
'books' => env('APP_VIEWS_BOOKS', 'list')
],
/**
* The number of revisions to keep in the database.
* Once this limit is reached older revisions will be deleted.
* If set to false then a limit will not be enforced.
*/
'revision_limit' => env('REVISION_LIMIT', 50),
/**
* Allow <script> tags to entered within page content.
* <script> tags are escaped by default.