Found the bug!

This commit is contained in:
Jesse James Isler 2022-03-28 15:31:29 +02:00
parent f74300de80
commit 43696d7b3e
1 changed files with 2 additions and 5 deletions

View File

@ -47,16 +47,13 @@
#Check if Language folder exists
if(file_exists('roles/'.$language.'/')) {
$files = glob("roles/'.$language.'/*.php");
$files = glob("roles/'".$language."'/*.php");
echo `Sprache gefunden!!!`;
} else {
$language = $defaultlanguage;
$files = glob("roles/'.$language.'/*.php");
$files = glob("roles/'."$language."'/*.php");
echo `Sprache wurde nicht im Dateisystem gefunden...`;
}
echo "roles/'.$language.'/*.php";
#Get all files from the language folder