##// 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 coreconfigitem('web', 'style',
643 coreconfigitem('web', 'style',
644 default='paper',
644 default='paper',
645 )
645 )
646 coreconfigitem('web', 'templates',
647 default=None,
648 )
646 coreconfigitem('worker', 'backgroundclose',
649 coreconfigitem('worker', 'backgroundclose',
647 default=dynamicdefault,
650 default=dynamicdefault,
648 )
651 )
@@ -174,7 +174,7 b' class hgwebdir(object):'
174 self.ui = u
174 self.ui = u
175 encoding.encoding = self.ui.config('web', 'encoding')
175 encoding.encoding = self.ui.config('web', 'encoding')
176 self.style = self.ui.config('web', 'style')
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 self.stripecount = self.ui.config('web', 'stripes')
178 self.stripecount = self.ui.config('web', 'stripes')
179 if self.stripecount:
179 if self.stripecount:
180 self.stripecount = int(self.stripecount)
180 self.stripecount = int(self.stripecount)
General Comments 0
You need to be logged in to leave comments. Login now