summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-25 20:28:20 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-25 20:28:20 +0000
commitc3891427d1dad3dbba06e973e8869f91e0a39dfd (patch)
tree2ac10b41c466ae64258ce5729dda7c8c6a2f72c4
parent91765ea996f1e1a1951409744763792adc36d311 (diff)
Remove hidden files from list of displayed languages
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@306 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm
index 19583b57..86a1779b 100755
--- a/LedgerSMB/User.pm
+++ b/LedgerSMB/User.pm
@@ -82,7 +82,7 @@ sub country_codes {
# scan the locale directory and read in the LANGUAGE files
opendir DIR, "${LedgerSMB::Sysconfig::localepath}";
- my @dir = grep !/^\.\.?$/, readdir DIR;
+ my @dir = grep !/^\..*$/, readdir DIR;
foreach my $dir (@dir) {
$dir = substr($dir, 0, -3);