equal
deleted
inserted
replaced
179 return u.config(section, name, default, untrusted=True) |
179 return u.config(section, name, default, untrusted=True) |
180 |
180 |
181 if u.configbool("web", "hidden", untrusted=True): |
181 if u.configbool("web", "hidden", untrusted=True): |
182 continue |
182 continue |
183 |
183 |
184 parts = [req.env['PATH_INFO'].rstrip('/'), name] |
184 parts = [name] |
|
185 if 'PATH_INFO' in req.env: |
|
186 parts.insert(0, req.env['PATH_INFO'].rstrip('/')) |
185 if req.env['SCRIPT_NAME']: |
187 if req.env['SCRIPT_NAME']: |
186 parts.insert(0, req.env['SCRIPT_NAME']) |
188 parts.insert(0, req.env['SCRIPT_NAME']) |
187 url = ('/'.join(parts).replace("//", "/")) + '/' |
189 url = ('/'.join(parts).replace("//", "/")) + '/' |
188 |
190 |
189 # update time with local timezone |
191 # update time with local timezone |