summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-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