Skip to content
Snippets Groups Projects
Commit 1a0221aa authored by Martin Mareš's avatar Martin Mareš
Browse files

Ujasnění request_path pro mount do adresáře

parent dc559dcc
Branches
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ def init_request(): ...@@ -48,7 +48,7 @@ def init_request():
mo.util.current_log_user = user mo.util.current_log_user = user
# K některým podstromům je nutné mít speciální oprávnění # K některým podstromům je nutné mít speciální oprávnění
# FIXME: Co když je web mountnutý v podadresáři? # XXX: Když celá aplikace běží v adresáři, request.path je relativní ke kořeni aplikace, ne celého webu
path = request.path path = request.path
if path.startswith('/org/'): if path.startswith('/org/'):
if not user: if not user:
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment