mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added 'start page=' option
SVN revision: 69
This commit is contained in:
parent
38e8574008
commit
7f54ca1ec6
11
elogd.c
11
elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$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
|
Revision 1.30 2002/06/03 09:37:47 midas
|
||||||
Fixed bug with MOptions in Email notification
|
Fixed bug with MOptions in Email notification
|
||||||
|
|
||||||
@ -6132,6 +6135,14 @@ FILE *f;
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*---- check for start page --------------------------------------*/
|
||||||
|
|
||||||
|
if (!path[0] && getcfg(logbook, "Start page", str) && str[0])
|
||||||
|
{
|
||||||
|
redirect(str);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/*---- get current message ---------------------------------------*/
|
/*---- get current message ---------------------------------------*/
|
||||||
|
|
||||||
size = sizeof(text);
|
size = sizeof(text);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user