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