Browse Source

Output.pm - silence unconditional warn.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Joe Atzberger 17 years ago
committed by Joshua Ferraro
parent
commit
c82636958d
  1. 2
      C4/Output.pm

2
C4/Output.pm

@ -163,7 +163,7 @@ sub themelanguage {
foreach my $th (@themes) {
foreach my $la (@languages) {
#for ( my $pass = 1 ; $pass <= 2 ; $pass += 1 ) {
warn "$htdocs/$th/$la/modules/$interface-"."tmpl";
# warn "$htdocs/$th/$la/modules/$interface-"."tmpl";
#$la =~ s/([-_])/ $1 eq '-'? '_': '-' /eg if $pass == 2;
if ( -e "$htdocs/$th/$la/modules/$interface-"."tmpl") {
#".($interface eq 'intranet'?"modules":"")."/$tmpl" ) {

Loading…
Cancel
Save