aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-19 20:42:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-19 20:42:04 +0000
commit09bd6c8c2aa31e79c5fdac185c3f4a0eac4e6b0c (patch)
tree70fca6d9fb9ce9d4f0c15f8e38d15a19a762e197 /packages/autoconfigbackup/autoconfigbackup.php
parent08c8db8a0320e400f751a026be98b774c613228c (diff)
downloadpfsense-packages-09bd6c8c2aa31e79c5fdac185c3f4a0eac4e6b0c.tar.gz
pfsense-packages-09bd6c8c2aa31e79c5fdac185c3f4a0eac4e6b0c.tar.bz2
pfsense-packages-09bd6c8c2aa31e79c5fdac185c3f4a0eac4e6b0c.zip
Use full hostname + domain.
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.php')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index 9086b2a1..e1ab6d71 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -53,7 +53,7 @@ $password = $config['installedpackages']['autoconfigbackup']['config'][0]['pas
$get_url = "https://{$username}:{$password}@portal.pfsense.org/pfSconfigbackups/restore.php";
// Set hostname
-$hostname = $config['system']['hostname'];
+$hostname = $config['system']['hostname'] . "." . $config['system']['domain'];
if(!$username) {
Header("Location: /pkg_edit.php?xml=autoconfigbackup.xml&id=0");