Commit c959d95f authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Fix language selection

Use "REQUEST_URI" instead of the "PHP_SELF" sever variable to determine
the redirection URL for the language selection form. This fixes the
language selection feature to work well with virtual URLs.

Signed-off-by: default avatarLukas Fleischer <>
parent 96c36dc8
......@@ -29,7 +29,7 @@
<div id="content">
<div id="lang_sub">
<form method="get" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES) ?>">
<form method="get" action="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"], ENT_QUOTES) ?>">
<select name="setlang" id="id_setlang">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment