Commit 62167a41 authored by Christophe Maudoux's avatar Christophe Maudoux

Load Portal despite translation file does not exist (#1595)

parent 9134fc9e
...@@ -97,7 +97,7 @@ sub init { ...@@ -97,7 +97,7 @@ sub init {
); );
# Load override messages from file and lemonldap-ng.ini # Load override messages from file and lemonldap-ng.ini
if ( $self->{localConfig}->{translations} ) { if ( $self->{localConfig}->{translations} and -f $self->{localConfig}->{translations} and -r $self->{localConfig}->{translations} ) {
open my $tr_file, '<', $self->{localConfig}->{translations} open my $tr_file, '<', $self->{localConfig}->{translations}
or die "Can't open" or die "Can't open"
. $self->{localConfig}->{translations} . " : $!"; . $self->{localConfig}->{translations} . " : $!";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment