diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/fbegin.inc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc index eaa3157..ed0cf57 100755 --- a/usr/local/www/fbegin.inc +++ b/usr/local/www/fbegin.inc @@ -57,13 +57,10 @@ function return_ext_menu($section) { if ($colonpos !== False){ //my url is actually just the IP address of the pfsense box $myurl = substr($addresswithport, 0, $colonpos); - } - else - { + } else { $myurl = $addresswithport; } - - $description = str_replace('$myurl', $myurl, $menuitem['url']); + $description = str_replace('\$myurl', $myurl, $menuitem['url']); } else { $description = '/pkg.php?xml=' . $menuitem['configfile']; } |