diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-18 23:01:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-18 23:01:52 +0000 |
commit | bf787c0af9579dc0d5c502b437bf1cc05c336d8e (patch) | |
tree | 3ffb9bbf0a92256085313ebe6104ec0f331178f0 /usr/local/www | |
parent | 4de543fa042cd26d64215552f774d0abfe635502 (diff) | |
download | pfsense-bf787c0af9579dc0d5c502b437bf1cc05c336d8e.zip pfsense-bf787c0af9579dc0d5c502b437bf1cc05c336d8e.tar.gz |
Redirect to the initial setup wizard on the first time the web gui is accessed.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
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) */ |