Changeset 1780

Show
Ignore:
Timestamp:
04/05/08 02:41:43 (23 months ago)
Author:
bchoate
Message:

Fixed test for existing SSI file (versus existing path).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-33/lib/MT/Template/ContextHandlers.pm

    r1774 r1780  
    23762376            # The template may still be cached from before we were using SSI 
    23772377            # for this template, so check that it's also on disk. 
    2378             if ($blog->file_mgr->exists($blog->include_path($include_name))) { 
     2378            my ($path, $file_path) = $blog->include_path($include_name); 
     2379            if ($blog->file_mgr->exists($file_path)) { 
    23792380                return $blog->include_statement($include_name); 
    23802381            }