diff options
author | Manuel Silvoso <msilvoso@gmail.com> | 2014-06-25 22:32:36 +0200 |
---|---|---|
committer | Manuel Silvoso <msilvoso@gmail.com> | 2014-07-25 22:25:20 +0200 |
commit | c4f7014bba0bb82b21025afe02f2ec04039e0cf2 (patch) | |
tree | 0b612fdf9fe21b862ca6cbb7e14a03cd023a3a25 /config/autoconfigbackup/autoconfigbackup.php | |
parent | 653a43f2e113f28cc8226392bf9a5c0562a486ad (diff) | |
download | pfsense-packages-c4f7014bba0bb82b21025afe02f2ec04039e0cf2.tar.gz pfsense-packages-c4f7014bba0bb82b21025afe02f2ec04039e0cf2.tar.bz2 pfsense-packages-c4f7014bba0bb82b21025afe02f2ec04039e0cf2.zip |
Tabs to spaces and merged changes from crypt.php into crypt_acb.php
Diffstat (limited to 'config/autoconfigbackup/autoconfigbackup.php')
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.php b/config/autoconfigbackup/autoconfigbackup.php index 94f835c0..9826154c 100644 --- a/config/autoconfigbackup/autoconfigbackup.php +++ b/config/autoconfigbackup/autoconfigbackup.php @@ -269,8 +269,8 @@ EOF; "&hostname=" . urlencode($hostname) . "&revision=" . urlencode($_REQUEST['download'])); curl_setopt($curl_session, CURLOPT_USERAGENT, $g['product_name'] . '/' . rtrim(file_get_contents("/etc/version"))); - // Proxy - curl_setopt_array($curl_session, configure_proxy($config)); + // Proxy + curl_setopt_array($curl_session, configure_proxy($config)); $data = curl_exec($curl_session); if (!tagfile_deformat($data, $data1, "config.xml")) $input_errors[] = "The downloaded file does not appear to contain an encrypted pfSense configuration."; @@ -322,8 +322,8 @@ EOF; curl_setopt($curl_session, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_session, CURLOPT_POSTFIELDS, "action=showbackups&hostname={$hostname}"); curl_setopt($curl_session, CURLOPT_USERAGENT, $g['product_name'] . '/' . rtrim(file_get_contents("/etc/version"))); - // Proxy - curl_setopt_array($curl_session, configure_proxy($config)); + // Proxy + curl_setopt_array($curl_session, configure_proxy($config)); $data = curl_exec($curl_session); if (curl_errno($curl_session)) { |