Allow uploading of captive portal files

This commit is contained in:
Scott Ullrich 2005-06-04 00:53:00 +00:00
parent c7757f8a20
commit 1c101a4480

View File

@ -113,7 +113,6 @@ if ($_POST) {
exit;
} else if ($mode == "restore") {
if (is_uploaded_file($_FILES['conffile']['tmp_name'])) {
$command = "/sbin/sysctl -a | grep carp";
$fd = fopen($_FILES['conffile']['tmp_name'], "r");
if(!$fd) {
log_error("Warning, could not open " . $_FILES['conffile']['tmp_name']);