Partial revert (#1595)
This commit is contained in:
parent
62167a41f1
commit
28caeea3c2
|
@ -97,7 +97,9 @@ sub init {
|
|||
);
|
||||
|
||||
# Load override messages from file and lemonldap-ng.ini
|
||||
if ( $self->{localConfig}->{translations} and -f $self->{localConfig}->{translations} and -r $self->{localConfig}->{translations} ) {
|
||||
if ( $self->{localConfig}->{translations}
|
||||
and -r $self->{localConfig}->{translations} )
|
||||
{
|
||||
open my $tr_file, '<', $self->{localConfig}->{translations}
|
||||
or die "Can't open"
|
||||
. $self->{localConfig}->{translations} . " : $!";
|
||||
|
|
Loading…
Reference in New Issue
Block a user