From 58362f9d5d4b31f70886f5c30ddb01e2a3c54192 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 24 Dec 2009 20:37:21 -0500 Subject: Fix webgui protocol detection here, too. --- usr/local/www/pkg_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/pkg_edit.php') 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; -- cgit v1.1