diff options
author | Manuel Silvoso <msilvoso@gmail.com> | 2014-07-25 23:06:43 +0200 |
---|---|---|
committer | Manuel Silvoso <msilvoso@gmail.com> | 2014-07-25 23:06:43 +0200 |
commit | 2fb2c17eef49225706b2fb1d4bd522dea58ce982 (patch) | |
tree | 6ba00c95bdeb35ad76776dce5e635ba0747be244 /config/autoconfigbackup/autoconfigbackup_stats.php | |
parent | c4f7014bba0bb82b21025afe02f2ec04039e0cf2 (diff) | |
download | pfsense-packages-2fb2c17eef49225706b2fb1d4bd522dea58ce982.tar.gz pfsense-packages-2fb2c17eef49225706b2fb1d4bd522dea58ce982.tar.bz2 pfsense-packages-2fb2c17eef49225706b2fb1d4bd522dea58ce982.zip |
Requested changes
Diffstat (limited to 'config/autoconfigbackup/autoconfigbackup_stats.php')
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup_stats.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup_stats.php b/config/autoconfigbackup/autoconfigbackup_stats.php index e3b115f9..34d96eda 100644 --- a/config/autoconfigbackup/autoconfigbackup_stats.php +++ b/config/autoconfigbackup/autoconfigbackup_stats.php @@ -29,7 +29,7 @@ require("globals.inc"); require("guiconfig.inc"); -require("/usr/local/pkg/autoconfigbackup.inc"); +require("autoconfigbackup.inc"); $pf_version=substr(trim(file_get_contents("/etc/version")),0,3); if ($pf_version < 2.0) @@ -74,7 +74,7 @@ if($_REQUEST['delhostname']) { curl_setopt($curl_session, CURLOPT_POSTFIELDS, "action=deletehostname&delhostname=" . urlencode($_REQUEST['delhostname'])); curl_setopt($curl_session, CURLOPT_USERAGENT, $g['product_name'] . '/' . rtrim(file_get_contents("/etc/version"))); // Proxy - curl_setopt_array($curl_session, configure_proxy($config)); + curl_setopt_array($curl_session, configure_proxy()); $data = curl_exec($curl_session); if (curl_errno($curl_session)) { @@ -150,7 +150,7 @@ include("head.inc"); curl_setopt($curl_session, CURLOPT_POSTFIELDS, "action=showstats"); curl_setopt($curl_session, CURLOPT_USERAGENT, $g['product_name'] . '/' . rtrim(file_get_contents("/etc/version"))); // Proxy - curl_setopt_array($curl_session, configure_proxy($config)); + curl_setopt_array($curl_session, configure_proxy()); $data = curl_exec($curl_session); if (curl_errno($curl_session)) { |