From 352093e0da8fb7eda06804afc953d261e1352eaf Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Mon, 3 Sep 2007 10:20:39 +0200 Subject: [PATCH] BUGFIX : get available language and theme Signed-off-by: Chris Cormack --- C4/Output.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Output.pm b/C4/Output.pm index d2a2899698..5e39eccff6 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -144,7 +144,7 @@ sub themelanguage { foreach my $la (@languages) { for ( my $pass = 1 ; $pass <= 2 ; $pass += 1 ) { $la =~ s/([-_])/ $1 eq '-'? '_': '-' /eg if $pass == 2; - if ( -e "$htdocs/$th/$la/$tmpl" ) { + if ( -e "$htdocs/$th/$la/modules/$tmpl" ) { $theme = $th; $lang = $la; last THEME; -- 2.39.5