[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [306] trunk/LedgerSMB/User.pm



Revision: 306
          http://svn.sourceforge.net/ledger-smb/?rev=306&view=rev
Author:   tetragon
Date:     2006-10-25 13:28:20 -0700 (Wed, 25 Oct 2006)

Log Message:
-----------
Remove hidden files from list of displayed languages

Modified Paths:
--------------
    trunk/LedgerSMB/User.pm

Modified: trunk/LedgerSMB/User.pm
===================================================================
--- trunk/LedgerSMB/User.pm	2006-10-25 20:19:58 UTC (rev 305)
+++ trunk/LedgerSMB/User.pm	2006-10-25 20:28:20 UTC (rev 306)
@@ -82,7 +82,7 @@
 	# 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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.