Ignore:
Timestamp:
Feb 19, 2010, 10:46:19 AM (15 years ago)
Author:
plg
Message:

feature 967: when clicking on the download link (only for high definition
currently), use images.file instead of basename(images.path) as download file
name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/action.php

    r3046 r4912  
    178178if (!isset($_GET['view']))
    179179{
    180   $http_headers[] = 'Content-Disposition: attachment; filename="'
    181             .basename($file).'";';
     180  $http_headers[] = 'Content-Disposition: attachment; filename="'.$element_info['file'].'";';
    182181  $http_headers[] = 'Content-Transfer-Encoding: binary';
    183182}
Note: See TracChangeset for help on using the changeset viewer.