Added 'start page=' option

SVN revision: 69
This commit is contained in:
2002-06-03 09:55:08 +00:00
parent 38e8574008
commit 7f54ca1ec6
+11
View File
@@ -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);