svn commit: samba r13383 - branches/SAMBA_3_0/source/web
trunk/source/web
jerry at samba.org
jerry at samba.org
Wed Feb 8 04:05:36 GMT 2006
Author: jerry
Date: 2006-02-08 04:05:34 +0000 (Wed, 08 Feb 2006)
New Revision: 13383
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13383
Log:
pulling in swat-welcome patch from SuSE packaging
Modified:
branches/SAMBA_3_0/source/web/swat.c
trunk/source/web/swat.c
Changeset:
Modified: branches/SAMBA_3_0/source/web/swat.c
===================================================================
--- branches/SAMBA_3_0/source/web/swat.c 2006-02-08 04:03:47 UTC (rev 13382)
+++ branches/SAMBA_3_0/source/web/swat.c 2006-02-08 04:05:34 UTC (rev 13383)
@@ -580,7 +580,11 @@
****************************************************************************/
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");
+ }
}
/****************************************************************************
Modified: trunk/source/web/swat.c
===================================================================
--- trunk/source/web/swat.c 2006-02-08 04:03:47 UTC (rev 13382)
+++ trunk/source/web/swat.c 2006-02-08 04:05:34 UTC (rev 13383)
@@ -580,7 +580,11 @@
****************************************************************************/
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");
+ }
}
/****************************************************************************
More information about the samba-cvs
mailing list