1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-29 20:14:19 +00:00

Fix license parsing bug in fastcgi mode

This commit is contained in:
zhengxie 2015-07-09 15:49:04 +08:00
parent 2cd615d561
commit a47a15e5e3

View File

@ -88,7 +88,8 @@ def sys_info(request):
is_pro = is_pro_version()
if is_pro:
license_dict = parse_license('../seafile-license.txt')
license_file = os.path.join(settings.PROJECT_ROOT, '../../seafile-license.txt')
license_dict = parse_license(license_file)
else:
license_dict = {}
return render_to_response('sysadmin/sys_info.html', {