summaryrefslogtreecommitdiff
path: root/lib/JWebmail/Plugin/I18N2/Maketext.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/JWebmail/Plugin/I18N2/Maketext.pm')
-rw-r--r--lib/JWebmail/Plugin/I18N2/Maketext.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/JWebmail/Plugin/I18N2/Maketext.pm b/lib/JWebmail/Plugin/I18N2/Maketext.pm
index a38bba7..ef3b08d 100644
--- a/lib/JWebmail/Plugin/I18N2/Maketext.pm
+++ b/lib/JWebmail/Plugin/I18N2/Maketext.pm
@@ -16,7 +16,7 @@ sub new {
my $class = shift;
my $conf = @_ == 1 ? shift : {@_};
- my $lexica = $conf->{directory} || [fileparse(__FILE__)]->[1] . '../I18N';
+ my $lexica = $conf->{directory};
my @languages = keys %{$conf->{languages} // {}};