Changeset 1782
- Timestamp:
- 04/06/08 03:58:45 (23 months ago)
- Files:
-
- 1 modified
-
branches/release-33/lib/MT/CMS/Export.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-33/lib/MT/CMS/Export.pm
r1369 r1782 2 2 3 3 use strict; 4 use MT::Util qw( dirify ); 4 5 5 6 sub start_export { … … 18 19 sub export { 19 20 my $app = shift; 20 $app->{no_print_body} = 1;21 local $| = 1;22 21 my $charset = $app->charset; 23 22 require MT::Blog; … … 43 42 } 44 43 44 $app->{no_print_body} = 1; 45 local $| = 1; 46 45 47 $app->set_header( "Content-Disposition" => "attachment; filename=$file" ); 46 48 $app->send_http_header(
