diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-22 03:13:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-22 03:13:21 +0000 |
commit | 94bf391602417968b76c9e12a5db82de91a407e2 (patch) | |
tree | 12ade0e9df12d1b61c5a980f6d89ba3278591497 /usr/local/www/services_captiveportal.php | |
parent | e5fa4cc4ddaaba56f20529fc1f0a4d817f3a55dc (diff) | |
download | pfsense-94bf391602417968b76c9e12a5db82de91a407e2.zip pfsense-94bf391602417968b76c9e12a5db82de91a407e2.tar.gz |
Use form post method
Diffstat (limited to 'usr/local/www/services_captiveportal.php')
-rwxr-xr-x | usr/local/www/services_captiveportal.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index 3185fd2..1e2d2cf 100755 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -78,6 +78,8 @@ if ($_POST) { /* input validation */ if ($_POST['enable']) { + $config['captiveportal']['enable'] = $_POST['enable'] ? true : false; + $reqdfields = explode(" ", "cinterface"); $reqdfieldsn = explode(",", "Interface"); @@ -176,7 +178,7 @@ if ($_POST) { <link href="gui.css" rel="stylesheet" type="text/css"> </head> -<form> +<form method="post"> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> |