1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-16 23:29:25 +00:00

get nickname from seahub database (#663)

* Add parse seahub database config

* Get nickname from seahub database

* Go get nickname from seahub database

* Save output of script to memory and fix some errors

* Add exec permission and free child_output

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-07-10 16:34:33 +08:00
committed by GitHub
parent 49168a140c
commit d51591d8f7
15 changed files with 311 additions and 24 deletions

View File

@@ -218,6 +218,8 @@ seafile_session_new(const char *central_config_dir,
goto onerror;
}
load_seahub_database_config (session);
session->cfg_mgr = seaf_cfg_manager_new (session);
if (!session->cfg_mgr)
goto onerror;