Browse Source

index.php: if parameter 'lang' is supplied, use this language

master
parent
commit
820e00436b
  1. 4
      index.php

4
index.php

@ -17,6 +17,10 @@ elseif (isset($config['categoriesDir'])) {
}
}
if (isset($_GET['lang'])) {
$_SESSION['ui_lang'] = $_GET['lang'];
}
if (sizeof($_GET)) {
Header('Location: .#' . http_build_query($_GET));
exit(0);

Loading…
Cancel
Save