From bf787c0af9579dc0d5c502b437bf1cc05c336d8e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 18 Dec 2004 23:01:52 +0000 Subject: Redirect to the initial setup wizard on the first time the web gui is accessed. --- usr/local/www/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/local/www/index.php b/usr/local/www/index.php index 0d60bbf..e228df7 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -29,6 +29,11 @@ POSSIBILITY OF SUCH DAMAGE. */ +if(file_exists("/usr/local/www/trigger_initial_wizard")) { + system("rm /usr/local/www/trigger_initial_wizard"); + header("Location: wizard.xml?xml=setup_wizard.xml"); +} + require("guiconfig.inc"); /* find out whether there's hardware encryption (hifn) */ -- cgit v1.1