mercurial/hgweb/hgwebdir_mod.py
changeset 41319 46781c1b5049
parent 40729 c93d046d4300
child 41365 876494fd967d
equal deleted inserted replaced
41318:6e54caaed08d 41319:46781c1b5049
   508         styles, (style, mapfile) = hgweb_mod.getstyle(req, config,
   508         styles, (style, mapfile) = hgweb_mod.getstyle(req, config,
   509                                                       self.templatepath)
   509                                                       self.templatepath)
   510         if style == styles[0]:
   510         if style == styles[0]:
   511             vars['style'] = style
   511             vars['style'] = style
   512 
   512 
   513         sessionvars = webutil.sessionvars(vars, r'?')
   513         sessionvars = webutil.sessionvars(vars, '?')
   514         logourl = config('web', 'logourl')
   514         logourl = config('web', 'logourl')
   515         logoimg = config('web', 'logoimg')
   515         logoimg = config('web', 'logoimg')
   516         staticurl = (config('web', 'staticurl')
   516         staticurl = (config('web', 'staticurl')
   517                      or req.apppath.rstrip('/') + '/static/')
   517                      or req.apppath.rstrip('/') + '/static/')
   518         if not staticurl.endswith('/'):
   518         if not staticurl.endswith('/'):