debugging
This commit is contained in:
parent
94dea1d3da
commit
0f8a5e2b34
@ -46,12 +46,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#Check if Language folder exists
|
#Check if Language folder exists
|
||||||
if(file_exists('roles/'.$language.'/')) {} else {
|
if(file_exists('roles/'.$language.'/')) {
|
||||||
|
$files = glob("roles/'.$language.'/*.php");
|
||||||
|
echo `Sprache gefunden!!!`
|
||||||
|
} else {
|
||||||
$language = $defaultlanguage;
|
$language = $defaultlanguage;
|
||||||
|
$files = glob("roles/'.$language.'/*.php");
|
||||||
|
echo `Sprache wurde nicht im Dateisystem gefunden...`
|
||||||
}
|
}
|
||||||
|
|
||||||
#Get all files from the language folder
|
#Get all files from the language folder
|
||||||
$files = glob("roles/'.$language.'/*.php");
|
|
||||||
|
|
||||||
sort($files);
|
sort($files);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user