Fix for annoying result of cvs backup files in lang subdir

This commit is contained in:
Miles Lott 2002-02-10 20:18:49 +00:00
parent 3ea803c565
commit 2ead51ae60

View File

@ -167,7 +167,7 @@
$d = dir('./lang');
while($entry=$d->read())
{
if (ereg('phpgw_',$entry))
if (ereg('^phpgw_',$entry))
{
$z = substr($entry,6,2);
$languages[$z]['available'] = True;