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:
parent
2cd615d561
commit
a47a15e5e3
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user