Fix language file detection

This commit is contained in:
Vincent Petry 2014-10-28 13:19:51 +01:00 committed by Thomas Müller
parent 9f7c571e40
commit c682b1f0c1
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ class OC_L10N implements \OCP\IL10N {
}
$dir = self::findI18nDir($app);
if(is_dir($dir)) {
return file_exists($dir.'/'.$lang.'.php');
return file_exists($dir.'/'.$lang.'.json');
}
return false;
}