git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f351b9c
)
r13383: pulling in swat-welcome patch from SuSE packaging
author
Gerald Carter
<jerry@samba.org>
Wed, 8 Feb 2006 04:05:34 +0000
(
04:05
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:09:57 +0000
(11:09 -0500)
(This used to be commit
1b955bbf59e5b11014405d888d58fefbc055ad38
)
source3/web/swat.c
patch
|
blob
|
history
diff --git
a/source3/web/swat.c
b/source3/web/swat.c
index af01d1f31bbc50a4957e1da098b5624e5bea5e46..cbf5ba8989199e1af9c75385d33d5e60d798dba3 100644
(file)
--- 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");
+ }
}
/****************************************************************************