##// END OF EJS Templates
configitems: register the 'web.guessmime' config
Boris Feld -
r34609:f12de15c default
parent child Browse files
Show More
@@ -736,6 +736,9 b" coreconfigitem('web', 'contact',"
736 736 coreconfigitem('web', 'deny_push',
737 737 default=list,
738 738 )
739 coreconfigitem('web', 'guessmime',
740 default=False,
741 )
739 742 coreconfigitem('web', 'accesslog',
740 743 default='-',
741 744 )
@@ -93,7 +93,7 b' def log(web, req, tmpl):'
93 93
94 94 @webcommand('rawfile')
95 95 def rawfile(web, req, tmpl):
96 guessmime = web.configbool('web', 'guessmime', False)
96 guessmime = web.configbool('web', 'guessmime')
97 97
98 98 path = webutil.cleanpath(web.repo, req.form.get('file', [''])[0])
99 99 if not path:
General Comments 0
You need to be logged in to leave comments. Login now