1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r13383: pulling in swat-welcome patch from SuSE packaging

(This used to be commit 1b955bbf59)
This commit is contained in:
Gerald Carter 2006-02-08 04:05:34 +00:00 committed by Gerald (Jerry) Carter
parent f351b9c6eb
commit 4379662d91

View File

@ -580,7 +580,11 @@ static void ViewModeBoxes(int mode)
****************************************************************************/
static void welcome_page(void)
{
include_html("help/welcome.html");
if (file_exist("help/welcome.html", NULL)) {
include_html("help/welcome.html");
} else {
include_html("help/welcome-no-samba-doc.html");
}
}
/****************************************************************************