summaryrefslogtreecommitdiffstats
path: root/usr/local/www/fbegin.inc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-06 18:00:46 +0000
committerColin Smith <colin@pfsense.org>2005-06-06 18:00:46 +0000
commit2acda758b28666f0dc0b987f1e34c161f5819d8e (patch)
treeda9dbdb4e1d3164af055d37504443a57a4473618 /usr/local/www/fbegin.inc
parent520d3d57841a6e39e52273113d8912c6d870a38a (diff)
downloadpfsense-2acda758b28666f0dc0b987f1e34c161f5819d8e.zip
pfsense-2acda758b28666f0dc0b987f1e34c161f5819d8e.tar.gz
Fix $myurl handling with str_replace.
Diffstat (limited to 'usr/local/www/fbegin.inc')
-rwxr-xr-xusr/local/www/fbegin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc
index 47297b5..a1369c2 100755
--- a/usr/local/www/fbegin.inc
+++ b/usr/local/www/fbegin.inc
@@ -7,7 +7,7 @@
foreach($config['installedpackages']['menu'] as $menuitem) {
if($menuitem['section'] != $section) continue;
if($menuitem['url'] <> "") {
- $description = $menuitem['url'];
+ $description = str_replace('$myurl', getenv("HTTP_HOST"), $menuitem['url']);
} else {
$description = '/pkg.php?xml=' . $menuitem['configfile'];
}
OpenPOWER on IntegriCloud