Changeset 941

Show
Ignore:
Timestamp:
10/31/07 07:12:30 (6 years ago)
Author:
miyagawa
Message:

allow assets_dir to be relative

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/mobirc/trunk/mobirc/lib/Mobirc/HTTPD/Controller.pm

    r935 r941  
    239239        ], 
    240240    ); 
    241     $tt->process( 
    242         File::Spec->catfile( 
    243             $c->{config}->{global}->{assets_dir}, 
    244             'tmpl', "$name.html" 
    245         ), 
    246         $args, 
    247         \my $out 
    248     ) or die $tt->error; 
     241    $tt->process("$name.html", $args, \my $out) 
     242        or die $tt->error; 
    249243 
    250244    DEBUG "rendering done";