summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_edit.php
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-12-24 20:37:21 -0500
committerjim-p <jim@pingle.org>2009-12-24 20:37:21 -0500
commit58362f9d5d4b31f70886f5c30ddb01e2a3c54192 (patch)
tree9a8a09726dfaad05068e68847708102810f86b2d /usr/local/www/pkg_edit.php
parent43d9a2d3eb065a2e60e0af5b76110c6c1129a5c3 (diff)
downloadpfsense-58362f9d5d4b31f70886f5c30ddb01e2a3c54192.zip
pfsense-58362f9d5d4b31f70886f5c30ddb01e2a3c54192.tar.gz
Fix webgui protocol detection here, too.
Diffstat (limited to 'usr/local/www/pkg_edit.php')
-rwxr-xr-xusr/local/www/pkg_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index 85d9372..2b4097c 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -671,7 +671,7 @@ function fixup_string($string) {
else
$urlport = "";
- if($config['system']['webguiproto'] == "https") $https = "s";
+ if($config['system']['webgui']['protocol'] == "https") $https = "s";
$myurl = "http" . $https . "://" . getenv("HTTP_HOST") . $urlport;
$newstring = str_replace("\$myurl", $myurl, $string);
$string = $newstring;
OpenPOWER on IntegriCloud