equal
deleted
inserted
replaced
170 return u.config(section, name, default, untrusted=True) |
170 return u.config(section, name, default, untrusted=True) |
171 |
171 |
172 if u.configbool("web", "hidden", untrusted=True): |
172 if u.configbool("web", "hidden", untrusted=True): |
173 continue |
173 continue |
174 |
174 |
175 parts = [req.env['PATH_INFO'], name] |
175 parts = [req.env['PATH_INFO'].strip('/'), name] |
176 if req.env['SCRIPT_NAME']: |
176 if req.env['SCRIPT_NAME']: |
177 parts.insert(0, req.env['SCRIPT_NAME']) |
177 parts.insert(0, req.env['SCRIPT_NAME']) |
178 url = ('/'.join(parts).replace("//", "/")) + '/' |
178 url = ('/'.join(parts).replace("//", "/")) + '/' |
179 |
179 |
180 # update time with local timezone |
180 # update time with local timezone |