ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 9285


Ignore:
Timestamp:
Nov 20, 2008, 4:51:41 PM (12 years ago)
Author:
akamine
Message:

#3113 各ファイルのコード修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.10.x/webapp/modules/pc/do/c_file_download.php

    r9272 r9285  
    5353            send_nocache_headers(true);
    5454        }
    55             $original_filename = str_replace(array("\r", "\n"), '', $original_filename);
     55        $original_filename = str_replace(array("\r", "\n"), '', $original_filename);
    5656
    57             header('Content-Disposition: attachment; filename="' . $original_filename . '"');
    58             header('Content-Length: '. strlen($file['bin']));
    59             header('Content-Type: application/octet-stream');
     57        header('Content-Disposition: attachment; filename="' . $original_filename . '"');
     58        header('Content-Length: '. strlen($file['bin']));
     59        header('Content-Type: application/octet-stream');
    6060        echo $file['bin'];
    6161        exit;
Note: See TracChangeset for help on using the changeset viewer.