summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-04 00:53:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-04 00:53:00 +0000
commit1c101a4480ccd732d7cd2ae36891341b47e063fd (patch)
tree74bfdb0cf2bf321ef781fb95b2685d460d5d54f6 /usr/local
parentc7757f8a205ee9da627619cb42b72fcb52c6d572 (diff)
downloadpfsense-1c101a4480ccd732d7cd2ae36891341b47e063fd.zip
pfsense-1c101a4480ccd732d7cd2ae36891341b47e063fd.tar.gz
Allow uploading of captive portal files
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/diag_backup.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index 44987d8..eeb8d0c 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -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']);
OpenPOWER on IntegriCloud