Changeset 4910 for branches/2.0/include


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

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

File:
1 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',
Note: See TracChangeset for help on using the changeset viewer.