Commit f1f244d3 authored by h0tw4t3r's avatar h0tw4t3r 👽

Fixed bad link redirect

parent a6dd9c85
......@@ -112,7 +112,7 @@ th.tabco1 {
<ul class="dropdown-menu language-navbar" aria-labelledby="languageDropdown">
<?php
foreach($languages as $key => $value) {
$link = 'https://' . 'parrotsec.org/' . $_SERVER['REQUEST_URI'];
$link = 'https://' . 'parrotsec.org' . $_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