Changeset 4910


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

feature 967: optionnaly transmit the original filename to pwg.images.add. When
transmitted, it fills the images.file column.

Location:
branches/2.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/ws_functions.inc.php

    r4902 r4910  
    12451245  // database registration
    12461246  $insert = array(
    1247     'file' => $filename_wo_ext.'.jpg',
     1247    'file' => !empty($params['original_filename']) ? $params['original_filename'] : $filename_wo_ext.'.jpg',
    12481248    'date_available' => $dbnow,
    12491249    'tn_ext' => 'jpg',
  • branches/2.0/ws.php

    r4512 r4910  
    205205      'high_sum' => array('default' => null),
    206206      'original_sum' => array(),
     207      'original_filename' => array('default' => null),
    207208      'name' => array('default' => null),
    208209      'author' => array('default' => null),
Note: See TracChangeset for help on using the changeset viewer.