added USE_SQLITE3 option
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Failing after 8s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Failing after 8s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 12s
This commit is contained in:
1 parent
634245e3ad
commit
73a73976fe
18 files changed
+115
-32
No files matched your search
+4
-1
@@ -1,6 +1,9 @@
|
||||
#include <colors.h>
|
||||
#include <mongoose.h>
|
||||
|
||||
#ifdef USE_SQLITE3
|
||||
#include <sqlite3.h>
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "cors.h"
|
||||
@@ -67,7 +70,7 @@ int main(void) {
|
||||
migrate_db();
|
||||
const char *default_users_filename =
|
||||
cm_get_parameter_as_string(config, "default_users_file");
|
||||
if (default_users_filename) db_get_users_from_file("users.json");
|
||||
if (default_users_filename) db_get_users_from_file(default_users_filename);
|
||||
|
||||
struct mg_mgr mgr;
|
||||
mg_log_set(MG_LL_DEBUG);
|
||||
|
||||
Reference in new issue
Block a user