mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-30 21:50:59 +00:00
Fix license parsing bug in fastcgi mode
This commit is contained in:
parent
2cd615d561
commit
a47a15e5e3
@ -88,7 +88,8 @@ def sys_info(request):
|
|||||||
|
|
||||||
is_pro = is_pro_version()
|
is_pro = is_pro_version()
|
||||||
if is_pro:
|
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:
|
else:
|
||||||
license_dict = {}
|
license_dict = {}
|
||||||
return render_to_response('sysadmin/sys_info.html', {
|
return render_to_response('sysadmin/sys_info.html', {
|
||||||
|
Loading…
Reference in New Issue
Block a user