summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-08 04:05:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:09:57 -0500
commit4379662d91b77c76aa41e054499b9a1707f1d1af (patch)
tree633aaecbef28537883ed998a0122214919d040a7
parentf351b9c6eb05fc051d639ee47e3dd56a4de7ec16 (diff)
downloadsamba-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)
-rw-r--r--source3/web/swat.c6
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");
+ }
}
/****************************************************************************