diff --git a/share/index.c b/share/index.c index 058f854..7b2c000 100644 --- a/share/index.c +++ b/share/index.c @@ -1,5 +1,8 @@ /* $Id$ */ +/* Change this path to wherever you decided to put ezmlm-web.cgi */ +#define EZMLM_WEB_CGI "/usr/local/bin/ezmlm-web.cgi" + #include #include @@ -10,8 +13,7 @@ int main(void) { - /* Change this path to wherever you decided to put ezmlm-web.cgi */ - execv("/usr/local/bin/ezmlm-web.cgi", NULL); + execv(EZMLM_WEB_CGI, NULL); /* Note that you could also use the following to allow a specific user to store their mailing lists and configuration file in a different @@ -29,7 +31,7 @@ int main(void) { /* char *switches[] = { "ezmlm-web.cgi", "-d", "/tmp/ezmlm-web-demo", NULL }; - execv("/usr/local/bin/ezmlm-web.cgi", switches); + execv(EZMLM_WEB_CGI, switches); */