diff --git a/elogd.c b/elogd.c index 166224c4..d2877be6 100755 --- a/elogd.c +++ b/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.31 2002/06/03 09:55:08 midas + Added 'start page=' option + Revision 1.30 2002/06/03 09:37:47 midas Fixed bug with MOptions in Email notification @@ -6132,6 +6135,14 @@ FILE *f; return; } + /*---- check for start page --------------------------------------*/ + + if (!path[0] && getcfg(logbook, "Start page", str) && str[0]) + { + redirect(str); + return; + } + /*---- get current message ---------------------------------------*/ size = sizeof(text);