From c3891427d1dad3dbba06e973e8869f91e0a39dfd Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 25 Oct 2006 20:28:20 +0000 Subject: 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 --- LedgerSMB/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') 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); -- cgit v1.2.3