diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-03-16 03:30:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-16 03:30:48 +0100 |
commit | b18915bb95c8b1fd9cf8ecef73f45cd47f71fc09 (patch) | |
tree | 45b99b30a6b86c51c1caf9e51cb9de563f42b287 /Bugzilla/CGI.pm | |
parent | 8a04bdd6bc2b5944a2d0bc5680f70829aa8115ce (diff) | |
download | bugzilla-b18915bb95c8b1fd9cf8ecef73f45cd47f71fc09.tar.gz bugzilla-b18915bb95c8b1fd9cf8ecef73f45cd47f71fc09.tar.xz |
add Bugzilla->urlbase method that returns a URI object
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 05e2bd749..ba82c83d0 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -664,7 +664,7 @@ sub send_cookie { } # Add the default path and the domain in. - state $uri = URI->new( Bugzilla->localconfig->{urlbase} ); + state $uri = Bugzilla->urlbase; $paramhash{'-path'} = $uri->path; # we don't set the domain. $paramhash{'-secure'} = 1 |