mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Allow uploading of captive portal files
This commit is contained in:
parent
c7757f8a20
commit
1c101a4480
@ -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']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user