filter l10n-* files
This commit is contained in:
parent
f4c9d4c067
commit
e96f6ffa52
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ class OC_L10N{
|
|||
if(is_dir($dir)) {
|
||||
$files=scandir($dir);
|
||||
foreach($files as $file) {
|
||||
if(substr($file, -4, 4) == '.php') {
|
||||
if(substr($file, -4, 4) === '.php' && substr($file, 0, 4) !== 'l10n') {
|
||||
$i = substr($file, 0, -4);
|
||||
$available[] = $i;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue