1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

Modified some settings

This commit is contained in:
zhengxie
2012-11-07 20:39:59 +08:00
parent d8cd3248e4
commit 0fc569df98
3 changed files with 10 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ and returns a dictionary to add to the context.
These are referenced from the setting TEMPLATE_CONTEXT_PROCESSORS and used by
RequestContext.
"""
from settings import SEAFILE_VERSION, SEAHUB_TITLE, SITE_NAME, SITE_BASE
from settings import SEAFILE_VERSION, SITE_TITLE, SITE_NAME, SITE_BASE
try:
from settings import BUSINESS_MODE
except ImportError:
@@ -28,7 +28,7 @@ def base(request):
return {
'seafile_version': SEAFILE_VERSION,
'seahub_title': SEAHUB_TITLE,
'site_title': SITE_TITLE,
'business_mode': BUSINESS_MODE,
'cloud_mode': request.cloud_mode,
'org': org,