diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-06 18:00:46 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-06 18:00:46 +0000 |
commit | 2acda758b28666f0dc0b987f1e34c161f5819d8e (patch) | |
tree | da9dbdb4e1d3164af055d37504443a57a4473618 /usr/local/www/fbegin.inc | |
parent | 520d3d57841a6e39e52273113d8912c6d870a38a (diff) | |
download | pfsense-2acda758b28666f0dc0b987f1e34c161f5819d8e.zip pfsense-2acda758b28666f0dc0b987f1e34c161f5819d8e.tar.gz |
Fix $myurl handling with str_replace.
Diffstat (limited to 'usr/local/www/fbegin.inc')
-rwxr-xr-x | usr/local/www/fbegin.inc | 2 |
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']; } |