Changeset 2051 for branches/release-36/lib/MT/WeblogPublisher.pm
- Timestamp:
- 04/24/08 03:02:29 (19 months ago)
- Files:
-
- 1 modified
-
branches/release-36/lib/MT/WeblogPublisher.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-36/lib/MT/WeblogPublisher.pm
r2023 r2051 1009 1009 # we move the file that might be there so that the custom 1010 1010 # 404 will be triggered. 1011 if ( $tmpl->build_dynamic ) { 1011 require MT::PublishOption; 1012 if ( $tmpl->build_dynamic 1013 || ( $map->build_type == MT::PublishOption::DYNAMIC() ) ) 1014 { 1012 1015 rename( 1013 1016 $finfo->file_path, # is this just $file ? … … 1022 1025 } 1023 1026 1024 return 1 if ( $tmpl->build_dynamic ); 1027 return 1 if ( $tmpl->build_dynamic ) 1028 || ( $map->build_type == MT::PublishOption::DYNAMIC() ); 1025 1029 return 1 if ( $entry && $entry->status != MT::Entry::RELEASE() ); 1026 1030 return 1 unless ( $tmpl->build_type );
