Fix locale template

tags/smeserver-dl-0.2.1-1
Daniel Berteaud 11 years ago
parent 7b73242850
commit 931435f1e0
  1. 4
      root/etc/e-smith/templates/etc/dl.php/25Locale

@ -1,5 +1,5 @@
{
my $local = $sysconfig{'Language'} || 'en_US';
my $locale = $sysconfig{'Language'} || 'en_US';
$locale = (-e "/usr/share/dl/include/locale/$locale") ? "$locale":'en_US';
$OUT .= "\$defLocale = '$locale'";
$OUT .= "\$defLocale = '$locale';";
}

Loading…
Cancel
Save