diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-14 17:24:06 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-14 17:24:06 +0100 |
commit | e96f6ffa525db949c9a2204f7b769e04e09f81e9 (patch) | |
tree | 9bce1ce3d3dd036399ee09097612050bf6ca43e9 /lib/l10n.php | |
parent | f4c9d4c06797a5c9e2f30d20a8e13686e98dd7f9 (diff) | |
download | nextcloud-server-e96f6ffa525db949c9a2204f7b769e04e09f81e9.tar.gz nextcloud-server-e96f6ffa525db949c9a2204f7b769e04e09f81e9.zip |
filter l10n-* files
Diffstat (limited to 'lib/l10n.php')
-rw-r--r-- | lib/l10n.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/l10n.php b/lib/l10n.php index e272bcd79f3..1e07a9b9557 100644 --- a/lib/l10n.php +++ b/lib/l10n.php @@ -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; } |