diff options
author | Gerald Carter <jerry@samba.org> | 2006-02-08 04:05:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:09:57 -0500 |
commit | 4379662d91b77c76aa41e054499b9a1707f1d1af (patch) | |
tree | 633aaecbef28537883ed998a0122214919d040a7 /source3/web | |
parent | f351b9c6eb05fc051d639ee47e3dd56a4de7ec16 (diff) | |
download | samba-4379662d91b77c76aa41e054499b9a1707f1d1af.tar.gz samba-4379662d91b77c76aa41e054499b9a1707f1d1af.tar.bz2 samba-4379662d91b77c76aa41e054499b9a1707f1d1af.zip |
r13383: pulling in swat-welcome patch from SuSE packaging
(This used to be commit 1b955bbf59e5b11014405d888d58fefbc055ad38)
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/swat.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c index af01d1f31b..cbf5ba8989 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -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"); + } } /**************************************************************************** |