mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 17:02:47 +00:00
[pdfjs] improved pdf view with pdfjs
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
|
||||
ENABLE_SIGNUP, MAX_FILE_NAME
|
||||
try:
|
||||
from settings import BUSINESS_MODE
|
||||
except ImportError:
|
||||
@@ -37,6 +37,5 @@ def base(request):
|
||||
'site_name': SITE_NAME,
|
||||
'enable_signup': ENABLE_SIGNUP,
|
||||
'max_file_name': MAX_FILE_NAME,
|
||||
'use_pdfjs': USE_PDFJS,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user