]> code.citadel.org Git - citadel.git/blobdiff - citadel/server_main.c
* moved some flags so that our run flags are collected in one place.
[citadel.git] / citadel / server_main.c
index f27baeb6073ab28d9f3a5a6d7480cae3695677bf..23ef71d91df4f136fe26746fd6f40a3330e764e1 100644 (file)
 #include "config.h"
 #include "control.h"
 #include "database.h"
+#include "user_ops.h"
 #include "housekeeping.h"
 #include "tools.h"
 #include "citadel_dirs.c"
 
+#include "modules_init.h"
+
+
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif
@@ -65,8 +69,6 @@
 #include "snprintf.h"
 #endif
 
-int running_as_daemon = 0;
-
 /*
  * Here's where it all begins.
  */
@@ -234,7 +236,14 @@ int main(int argc, char **argv)
         */
        lprintf(CTDL_INFO, "Initializing server extensions\n");
        size = strlen(ctdl_home_directory) + 9;
+       
+/*
        initialize_server_extensions();
+*/
+       
+       initialise_modules();
+       
+       
 
        /*
         * If we need host auth, start our chkpwd daemon.