Quote language module in config

tags/smeserver-phplist-0.2.1-1
Daniel Berteaud 10 years ago
parent ce24c341dc
commit d24742660b
  1. 2
      root/etc/e-smith/templates/etc/phplist/config.php/50Options

@ -4,6 +4,6 @@ define("ALLOW_ATTACHMENTS",1);
my $lang = $phplist{'Language'} || '';
$lang .= ($lang =~ m/\.inc$/) ? '' : '.inc';
if ($lang ne '' && -e '/usr/share/phplist/www/texts/' . $lang){
$OUT .= '$language_module = ' . $lang . ';';
$OUT .= '$language_module = \'' . $lang . '\';';
}
}

Loading…
Cancel
Save