Show More
@@ -745,6 +745,9 b" coreconfigitem('web', 'hidden'," | |||
|
745 | 745 | coreconfigitem('web', 'labels', |
|
746 | 746 | default=list, |
|
747 | 747 | ) |
|
748 | coreconfigitem('web', 'logoimg', | |
|
749 | default='hglogo.png', | |
|
750 | ) | |
|
748 | 751 | coreconfigitem('web', 'accesslog', |
|
749 | 752 | default='-', |
|
750 | 753 | ) |
@@ -169,7 +169,7 b' class requestcontext(object):' | |||
|
169 | 169 | port = port != default_port and (':' + port) or '' |
|
170 | 170 | urlbase = '%s://%s%s' % (proto, req.env['SERVER_NAME'], port) |
|
171 | 171 | logourl = self.config('web', 'logourl', 'https://mercurial-scm.org/') |
|
172 |
logoimg = self.config('web', 'logoimg' |
|
|
172 | logoimg = self.config('web', 'logoimg') | |
|
173 | 173 | staticurl = self.config('web', 'staticurl') or req.url + 'static/' |
|
174 | 174 | if not staticurl.endswith('/'): |
|
175 | 175 | staticurl += '/' |
@@ -511,7 +511,7 b' class hgwebdir(object):' | |||
|
511 | 511 | start = url[-1] == '?' and '&' or '?' |
|
512 | 512 | sessionvars = webutil.sessionvars(vars, start) |
|
513 | 513 | logourl = config('web', 'logourl', 'https://mercurial-scm.org/') |
|
514 |
logoimg = config('web', 'logoimg' |
|
|
514 | logoimg = config('web', 'logoimg') | |
|
515 | 515 | staticurl = config('web', 'staticurl') or url + 'static/' |
|
516 | 516 | if not staticurl.endswith('/'): |
|
517 | 517 | staticurl += '/' |
General Comments 0
You need to be logged in to leave comments.
Login now