1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00

Added viewing file size limit

This commit is contained in:
zhengxie
2013-03-25 16:22:10 +08:00
parent 97c10bc6f6
commit b3687748df
8 changed files with 84 additions and 58 deletions

View File

@@ -145,7 +145,7 @@ AUTHENTICATION_BACKENDS = (
ACCOUNT_ACTIVATION_DAYS = 7
# File preview
FILE_PREVIEW_MAX_SIZE = 10 * 1024 * 1024
FILE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024
USE_PDFJS = True
FILE_ENCODING_LIST = ['auto', 'utf-8', 'gbk', 'ISO-8859-1', 'ISO-8859-5']
FILE_ENCODING_TRY_LIST = ['utf-8', 'gbk']