Show
Ignore:
Timestamp:
04/17/08 13:11:31 (20 months ago)
Author:
takayama
Message:

Fixed BugId:75137
* Changed to using cache_key for include cache directory

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-35/lib/MT/CMS/Template.pm

    r1913 r1949  
    474474        if ($blog) { 
    475475            $param->{include_with_ssi}      = 0; 
     476            $param->{cache_path}            = ''; 
    476477            $param->{cache_enabled}         = 0; 
    477478            $param->{cache_expire_type}     = 0; 
     
    483484            $param->{include_with_ssi} = $obj->include_with_ssi 
    484485              if defined $obj->include_with_ssi; 
     486            $param->{cache_path}       = $obj->cache_path 
     487              if defined $obj->cache_path; 
    485488            $param->{cache_enabled} = $obj->use_cache 
    486489              if defined $obj->use_cache; 
     
    12371240    # module caching 
    12381241    $obj->include_with_ssi( $app->param('include_with_ssi') ? 1 : 0 ); 
     1242    $obj->cache_path( $app->param('cache_path')); 
    12391243    $obj->use_cache( $app->param('cache_enabled')           ? 1 : 0 ); 
    12401244    my $cache_expire_type = $app->param('cache_expire_type');