From 7f54ca1ec63503aa4e2beb01cb6e3b3144337c7f Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 3 Jun 2002 09:55:08 +0000 Subject: [PATCH] Added 'start page=' option SVN revision: 69 --- elogd.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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);