Verified Commit 27c58a9b authored by hotwater's avatar hotwater 👽

Language switching fixed

parent 1722c6ef
......@@ -112,7 +112,7 @@ th.tabco1 {
<ul class="dropdown-menu language-navbar" aria-labelledby="languageDropdown">
<?php
foreach($languages as $key => $value) {
$link = 'https://' . 'parrot.sh' . $_SERVER['REQUEST_URI'];
$link = 'https://www' . 'parrot.sh' . $_SERVER['REQUEST_URI'];
if(!strpos($link, "?lang="))
$final_link = "$link?lang=$key";
else {
......
Markdown is supported
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