Commit 67256572 authored by Lorenzo Faletra's avatar Lorenzo Faletra

fix php typo

parent 0d446e0f
......@@ -102,7 +102,7 @@
<ul class="dropdown-menu language-navbar" aria-labelledby="languageDropdown">
<?php
foreach($languages as $key => $value) {
$link = 'https://' . $_SERVER[HTTP_HOST] . $_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