##// END OF EJS Templates
configitems: register the 'web.templates' config
Boris Feld -
r34244:95f80c09 default
parent child Browse files
Show More
@@ -643,6 +643,9 b" coreconfigitem('web', 'stripes',"
643 643 coreconfigitem('web', 'style',
644 644 default='paper',
645 645 )
646 coreconfigitem('web', 'templates',
647 default=None,
648 )
646 649 coreconfigitem('worker', 'backgroundclose',
647 650 default=dynamicdefault,
648 651 )
@@ -174,7 +174,7 b' class hgwebdir(object):'
174 174 self.ui = u
175 175 encoding.encoding = self.ui.config('web', 'encoding')
176 176 self.style = self.ui.config('web', 'style')
177 self.templatepath = self.ui.config('web', 'templates', None)
177 self.templatepath = self.ui.config('web', 'templates')
178 178 self.stripecount = self.ui.config('web', 'stripes')
179 179 if self.stripecount:
180 180 self.stripecount = int(self.stripecount)
General Comments 0
You need to be logged in to leave comments. Login now