improved code

This commit is contained in:
Jesse James Isler 2022-03-28 15:03:43 +02:00
parent 82ebdb4ba9
commit 9b85d66bff

View File

@ -31,14 +31,15 @@
<body>
<div class="container">
<?php
$defaultlanguage = "de";
# Get language from URL
if(isset($_GET["lang"])) {
$language = $_GET["lang"];
#Check if Language Parameter is empty
if(isset($language)) {} else {
} else {
$language = $defaultlanguage;
}