Found the bug!
This commit is contained in:
parent
f74300de80
commit
43696d7b3e
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user