summaryrefslogtreecommitdiff
path: root/swat/index.esp
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-20 11:26:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:49 -0500
commit2fd92cb1b4986909aff79ee88e48d1bb513e9062 (patch)
tree3ee779f9503a6935325ca48193f090e5e1a9f9cb /swat/index.esp
parent01b9564909d09d5c617ec9831a65ac5de890ebc3 (diff)
downloadsamba-2fd92cb1b4986909aff79ee88e48d1bb513e9062.tar.gz
samba-2fd92cb1b4986909aff79ee88e48d1bb513e9062.tar.bz2
samba-2fd92cb1b4986909aff79ee88e48d1bb513e9062.zip
r8648: automatically redirect to provisioning if not yet provisioned when the
home page in swat is accessed (This used to be commit 78fb559c08d55c01f5ede81d43cdd857cce8d338)
Diffstat (limited to 'swat/index.esp')
-rw-r--r--swat/index.esp6
1 files changed, 6 insertions, 0 deletions
diff --git a/swat/index.esp b/swat/index.esp
index e1ec624308..2e43d3f9cf 100644
--- a/swat/index.esp
+++ b/swat/index.esp
@@ -1,6 +1,12 @@
<% page_header("columns", "Server Status", "");
libinclude("base.js");
libinclude("management.js");
+ libinclude("provision.js");
+
+ if (install_ok() == false) {
+ redirect("/install/provision.esp");
+ }
+
%>
<h1>Server Status</h1>