1
0
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:
llj
2013-02-27 21:37:38 +08:00
parent db185f10df
commit 788e6376d3
3 changed files with 8 additions and 2 deletions

View File

@@ -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,
}