updating client to autoupdate the settings db

This commit is contained in:
jakani24
2024-02-17 09:39:14 +01:00
parent b32c8063b6
commit a5763ca271
28 changed files with 33 additions and 14 deletions

View File

@@ -17,6 +17,7 @@ int load_settings() {
if (fopen_s(&fp, SETTINGS_DB, "r")!=0) {
log(LOGLEVEL::ERR, "[load_settings()]: Could not open settings file. ", SETTINGS_DB);
strcpy_s(setting_server_server_url, 295, "http://localhost");
return 1;
}
else {
@@ -63,6 +64,7 @@ int load_settings() {
}
load_included_folders();
load_excluded_folders();
fclose(fp);
return 0;
}