mercurial/hgweb/hgwebdir_mod.py
changeset 36805 ec46415ed826
parent 36804 b9b968e21f78
child 36856 1f7d9024674c
equal deleted inserted replaced
36804:b9b968e21f78 36805:ec46415ed826
   507         styles, (style, mapfile) = hgweb_mod.getstyle(wsgireq, config,
   507         styles, (style, mapfile) = hgweb_mod.getstyle(wsgireq, config,
   508                                                       self.templatepath)
   508                                                       self.templatepath)
   509         if style == styles[0]:
   509         if style == styles[0]:
   510             vars['style'] = style
   510             vars['style'] = style
   511 
   511 
   512         start = r'&' if url[-1] == r'?' else r'?'
   512         sessionvars = webutil.sessionvars(vars, r'?')
   513         sessionvars = webutil.sessionvars(vars, start)
       
   514         logourl = config('web', 'logourl')
   513         logourl = config('web', 'logourl')
   515         logoimg = config('web', 'logoimg')
   514         logoimg = config('web', 'logoimg')
   516         staticurl = config('web', 'staticurl') or url + 'static/'
   515         staticurl = config('web', 'staticurl') or url + 'static/'
   517         if not staticurl.endswith('/'):
   516         if not staticurl.endswith('/'):
   518             staticurl += '/'
   517             staticurl += '/'