diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-04 02:14:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-04 02:14:47 +0000 |
commit | 1d1038ee5dcbc31c4517f5b175e6296fda222eae (patch) | |
tree | 048cfa592f5a0c61ca84f87ed9810751a10c7531 /usr/local/www/services_captiveportal.php | |
parent | 1312bde15d09de8854b8d280367b146149969742 (diff) | |
download | pfsense-1d1038ee5dcbc31c4517f5b175e6296fda222eae.zip pfsense-1d1038ee5dcbc31c4517f5b175e6296fda222eae.tar.gz |
Allow uploading of captive portal files
Diffstat (limited to 'usr/local/www/services_captiveportal.php')
-rwxr-xr-x | usr/local/www/services_captiveportal.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index d13bc05..a4f1754 100755 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -156,7 +156,7 @@ if ($_POST) { /* file upload? */ if (is_uploaded_file($_FILES['htmlfile']['tmp_name'])) $config['captiveportal']['page']['htmltext'] = base64_encode(file_get_contents($_FILES['htmlfile']['tmp_name'])); - if (is_uploaded_file($_FILES['errfile']['tmp_name'])) + if (is_uploaded_file($_FILES['errfile']['tmp_name'])) $config['captiveportal']['page']['errtext'] = base64_encode(file_get_contents($_FILES['errfile']['tmp_name'])); write_config(); @@ -181,8 +181,6 @@ if ($_POST) { <link href="gui.css" rel="stylesheet" type="text/css"> </head> -<form method="post" name="iform" id="iform"> - <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> <script language="JavaScript"> |