summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-18 23:01:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-18 23:01:52 +0000
commitbf787c0af9579dc0d5c502b437bf1cc05c336d8e (patch)
tree3ffb9bbf0a92256085313ebe6104ec0f331178f0 /usr
parent4de543fa042cd26d64215552f774d0abfe635502 (diff)
downloadpfsense-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')
-rwxr-xr-xusr/local/www/index.php5
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) */
OpenPOWER on IntegriCloud