]> code.citadel.org Git - citadel.git/blobdiff - webcit/src/setup.c
src/crypto.c: possible fix for memory leak related
[citadel.git] / webcit / src / setup.c
index f17e7ac01f0993571195be9097104ae55fd566a9..f11a917673e0c4bcff03063e3f45f222ac331b07 100644 (file)
@@ -7,7 +7,7 @@
  *
  */
 
-
+#include "config.h"
 #include "webcit.h"
 #include "webserver.h"
 
@@ -628,7 +628,7 @@ int main(int argc, char *argv[])
        }
 
        /* Get started in a valid setup directory. */
-       strcpy(setup_directory, WEBCITDIR);
+       strcpy(setup_directory, PREFIX);
        if ( (using_web_installer) && (getenv("WEBCIT") != NULL) ) {
                strcpy(setup_directory, getenv("WEBCIT"));
        }