mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 08:53:14 +00:00
[file encoding] improved code & modified for file_edit & text_diff
This commit is contained in:
@@ -7,7 +7,7 @@ These are referenced from the setting TEMPLATE_CONTEXT_PROCESSORS and used by
|
||||
RequestContext.
|
||||
"""
|
||||
from settings import SEAFILE_VERSION, SITE_TITLE, SITE_NAME, SITE_BASE, \
|
||||
ENABLE_SIGNUP, MAX_FILE_NAME, USE_PDFJS, FILE_ENCODING_LIST
|
||||
ENABLE_SIGNUP, MAX_FILE_NAME, USE_PDFJS
|
||||
try:
|
||||
from settings import BUSINESS_MODE
|
||||
except ImportError:
|
||||
@@ -38,6 +38,5 @@ def base(request):
|
||||
'enable_signup': ENABLE_SIGNUP,
|
||||
'max_file_name': MAX_FILE_NAME,
|
||||
'use_pdfjs': USE_PDFJS,
|
||||
'file_encoding_list': FILE_ENCODING_LIST,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user