|
a/webui.py |
|
b/webui.py |
|
... |
|
... |
272 |
for k, v in DEFAULTS.items():
|
272 |
for k, v in DEFAULTS.items():
|
273 |
bottle.response.set_cookie(k, str(bottle.request.query.get(k)), max_age=3153600000)
|
273 |
bottle.response.set_cookie(k, str(bottle.request.query.get(k)), max_age=3153600000)
|
274 |
for d in config['dirs']:
|
274 |
for d in config['dirs']:
|
275 |
cookie_name = 'mount_%s' % urllib.quote(d, '')
|
275 |
cookie_name = 'mount_%s' % urllib.quote(d, '')
|
276 |
bottle.response.set_cookie(cookie_name, str(bottle.request.query.get('mount_%s' % d)), max_age=3153600000)
|
276 |
bottle.response.set_cookie(cookie_name, str(bottle.request.query.get('mount_%s' % d)), max_age=3153600000)
|
277 |
bottle.redirect('..')
|
277 |
bottle.redirect('./')
|
278 |
#}}}
|
278 |
#}}}
|
279 |
#}}}
|
279 |
#}}}
|
280 |
# vim: fdm=marker:tw=80:ts=4:sw=4:sts=4:et
|
280 |
# vim: fdm=marker:tw=80:ts=4:sw=4:sts=4:et
|