aboutsummaryrefslogtreecommitdiffstats
path: root/check_trans.pl
diff options
context:
space:
mode:
authorPeter Karlsson <peterk>2004-08-07 23:08:33 +0000
committerPeter Karlsson <peterk>2004-08-07 23:08:33 +0000
commit943ff660b0efecb9958bf348234f65951ce21483 (patch)
treea810a076ad09cbd2cf0c2746a2bac18e2aa01db7 /check_trans.pl
parent6ef106dddef4fc05cc9622d71918cae1e31af085 (diff)
Fixed reading of language.conf
CVS version numbers check_trans.pl: 1.59 -> 1.60
Diffstat (limited to 'check_trans.pl')
-rwxr-xr-xcheck_trans.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/check_trans.pl b/check_trans.pl
index 5e63660f5cd..09c4ea3556c 100755
--- a/check_trans.pl
+++ b/check_trans.pl
@@ -162,10 +162,10 @@ if (exists $ENV{DWWW_LANG})
}
elsif (open CONF, "<language.conf")
{
- while (<CONF>)
+ while (<CONF>)
{
- next if /^#/;
- $defaultlanguage = <CONF>;
+ next if /^#/;
+ $defaultlanguage = $_;
chomp $defaultlanguage;
}
close CONF;

© 2014-2024 Faster IT GmbH | imprint | privacy policy